DeviceAppAttributes

constructor(appVersion: String, appName: String, osVersion: String, osName: String, nativeAppType: String, mobileSdkVersion: String, deviceModel: String, deviceId: String, clientId: String)

Parameterized constructor.

Parameters

appVersion

App version.

appName

App name.

osVersion

OS version.

osName

OS name.

nativeAppType

App type.

mobileSdkVersion

Mobile SDK version.

deviceModel

Device model.

deviceId

Device ID.

clientId

Client ID.


constructor(json: JSONObject)

Constructs device app attributes from its JSON representation. This is meant for internal use. Apps should use the other constructor to build DeviceAppAttributes objects.

Parameters

json

JSON object.