Device

interface Device : WebInfoItem

Represents a device with its model, type, and vendor information.

This interface provides properties to retrieve details about the device's model, type, and vendor. It can be used to capture information about the device for system details, analytics, or diagnostics.

Author

N7ghtm4r3

See also

Inheritors

DeviceImpl

Properties

Link copied to clipboard
abstract val model: String

model The model of the device (e.g., iPhone 12, Galaxy S21).

Link copied to clipboard
abstract val type: String

type The type of the device (e.g., smartphone, tablet, laptop).

Link copied to clipboard
abstract val vendor: String

vendor The vendor of the device (e.g., Apple, Samsung, Lenovo).

Functions

Link copied to clipboard
open fun String?.safeValue(): String

Method to use a null-safe value.