Ametista Device

@Entity
open class AmetistaDevice : EquinoxItem

The AmetistaDevice class is useful to represent a device where the applications monitored by the Ametista Engine are running

Author

N7ghtm4r3 - Tecknobit

See also

EquinoxItem

Constructors

Link copied to clipboard
constructor()
Constructor to init the AmetistaDevice class
constructor(id: String, brand: String, model: String, os: String, osVersion: String)
Constructor to init the AmetistaDevice class
constructor(jDevice: JSONObject)
Constructor to init the AmetistaUser class

Properties

Link copied to clipboard
brand the brand of the device
Link copied to clipboard
val BRAND_KEY: String = "brand"
BRAND_KEY the key for the "brand" field
Link copied to clipboard
val DEVICE_IDENTIFIER_KEY: String = "device_id"
DEVICE_IDENTIFIER_KEY the key for the "device_id" field
Link copied to clipboard
val DEVICE_KEY: String = "device"
DEVICE_KEY the key for the "device" field
Link copied to clipboard
val DEVICES_KEY: String = "devices"
DEVICES_KEY the key for the "devices" field
Link copied to clipboard
Link copied to clipboard
protected val hItem: JsonHelper
Link copied to clipboard
protected val id: String
Link copied to clipboard
Link copied to clipboard
model the model of the device
Link copied to clipboard
val MODEL_KEY: String = "model"
MODEL_KEY the key for the "model" field
Link copied to clipboard
val os: String
os the operating system of the device
Link copied to clipboard
val OS_KEY: String = "os"
OS_KEY the key for the "os" field
Link copied to clipboard
val OS_VERSION_KEY: String = "os_version"
OS_VERSION_KEY the key for the "os_version" field
Link copied to clipboard
osVersion the operating system version of the device
Link copied to clipboard
protected val timeFormatter: TimeFormatter

Functions

Link copied to clipboard
open fun getId(): String
Method to get id instance
Link copied to clipboard
open fun toString(): String