ClientInfo

@Serializable
data class ClientInfo(val appName: String? = null, val appVersion: Int? = null, val deviceName: String? = null, val osName: String? = null, val osVersion: String? = null, val sdkName: String? = null, val sdkVersion: Int? = null, val type: String? = null)

Describes the content of the User-Agent field in the format that is accepted and understandable to the Bridge server (see /articles/rest.html).

Parameters

appName

The name of the application (e.g. \"Cardio Health\").

appVersion

The version of the application (must be a number, and should increase with every new release of the application).

deviceName

Information about the device (e.g. \"Unknown iPhone\").

osName

The name of the operating system (conventional names are \"Android\" and \"iPhone OS\").

osVersion

The version of the operating system (e.g. \"10.0.3\").

sdkName

The name of the SDK being used (e.g. \"BridgeJavaSDK\").

sdkVersion

The version of the SDK being used (e.g. \"4\").

type

ClientInfo

Constructors

Link copied to clipboard
constructor(appName: String? = null, appVersion: Int? = null, deviceName: String? = null, osName: String? = null, osVersion: String? = null, sdkName: String? = null, sdkVersion: Int? = null, type: String? = null)

Properties

Link copied to clipboard
@SerialName(value = "appName")
val appName: String? = null
Link copied to clipboard
@SerialName(value = "appVersion")
val appVersion: Int? = null
Link copied to clipboard
@SerialName(value = "deviceName")
val deviceName: String? = null
Link copied to clipboard
@SerialName(value = "osName")
val osName: String? = null
Link copied to clipboard
@SerialName(value = "osVersion")
val osVersion: String? = null
Link copied to clipboard
@SerialName(value = "sdkName")
val sdkName: String? = null
Link copied to clipboard
@SerialName(value = "sdkVersion")
val sdkVersion: Int? = null
Link copied to clipboard
@SerialName(value = "type")
val type: String? = null