DeviceAppAttributes

Represents common attributes specific to this app and device. These attributes will be appended to the events stored using this library.

Author

bhariharan

Constructors

Link copied to clipboard
constructor(appVersion: String, appName: String, osVersion: String, osName: String, nativeAppType: String, mobileSdkVersion: String, deviceModel: String, deviceId: String, clientId: String)
Parameterized constructor.
constructor(json: JSONObject)
Constructs device app attributes from its JSON representation.

Properties

Link copied to clipboard
open val appName: String
Link copied to clipboard
open val appVersion: String
Link copied to clipboard
open val clientId: String
Link copied to clipboard
open val deviceId: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open val osName: String
Link copied to clipboard
open val osVersion: String

Functions

Link copied to clipboard
open fun toJson(): JSONObject
Returns a JSON representation of device app attributes.