DeviceInfo

@JsonClass(generateAdapter = true)
data class DeviceInfo(    val os: String = PointServiceConstants.PLATFORM,     val osVersion: String = Build.VERSION.RELEASE,     val deviceType: String = PointServiceConstants.DEVICE_MODEL) : Parcelable

Device information e.g. model, os, osVersion. Captures device details on which SDK is running.

Example:

DeviceInfo(os=Android, osVersion=12, deviceType=Google Pixel 3 XL)

Constructors

Link copied to clipboard
fun DeviceInfo(    os: String = PointServiceConstants.PLATFORM,     osVersion: String = Build.VERSION.RELEASE,     deviceType: String = PointServiceConstants.DEVICE_MODEL)

Properties

Link copied to clipboard
val deviceType: String
Link copied to clipboard
val os: String
Link copied to clipboard
val osVersion: String

Functions

Link copied to clipboard
fun toJson(): String

Inherited functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)