DeviceInfo

data class DeviceInfo(val id: String, val name: String, val languages: List<String> = emptyList())

The device information is used to identify the device the client application is running on.

Constructors

Link copied to clipboard
constructor(id: String, name: String, languages: List<String> = emptyList())

Properties

Link copied to clipboard
val id: String

Unique id of the device. Only one user may be authenticated per device. It is recommended to generate an unique value for each user in the client.

Link copied to clipboard

List of BCP-47 formatted languages this device prefers to be used in order of most to least preferred. This is used to request the language used in API responses. Use an empty list for server default.

Link copied to clipboard

Name of the device.