Device Info

open class DeviceInfo(val uniqueIdentifier: String, val brand: String, val model: String, val os: String, val osVersion: String)

The DeviceInfo class represents the information about the current device where the application is running

Author

N7ghtm4r3 - Tecknobit

Parameters

uniqueIdentifier

The unique identifier of the user

brand

The brand of the device

model

The model of the device

os

The operating system of the device

osVersion

The operating system version of the device

See also

Inheritors

Constructors

Link copied to clipboard
constructor(uniqueIdentifier: String, brand: String, model: String, os: String, osVersion: String)

Types

Link copied to clipboard
object Companion

Properties

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

Functions

Link copied to clipboard
open fun toPayload(): JsonObject

Method to transform the device information as payload for the requests