Web Device Info

class WebDeviceInfo(val uniqueIdentifier: String, val brand: String, val model: String, val os: String, val osVersion: String, val browser: String, val browserVersion: String) : DeviceInfo

The WebDeviceInfo class represents the information about the current browser (and related 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

browser

The browser where the web-app is running

browserVersion

The version of the browser

See also

Constructors

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

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
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 override fun toPayload(): JsonObject

Method to transform the device information as payload for the requests