PlatformInfo

@Serializable
data class PlatformInfo(val platform: String, var version: Int? = null, var device: String = "", var deviceName: String = "", var model: String = "", var brand: String = "", var locale: String = "", var timeZone: String = "", var jailBreakScore: Double? = null)

Data class containing comprehensive platform and device information.

This class holds various device identifiers, regional settings, and platform details that can be used for device fingerprinting and analytics purposes.

Constructors

Link copied to clipboard
constructor(platform: String, version: Int? = null, device: String = "", deviceName: String = "", model: String = "", brand: String = "", locale: String = "", timeZone: String = "", jailBreakScore: Double? = null)

Properties

Link copied to clipboard

The device brand/manufacturer from Build.BRAND

Link copied to clipboard

The device hardware identifier from Build.DEVICE, defaults to "Device" if null

Link copied to clipboard

The user-visible device name from Build.MODEL

Link copied to clipboard

Security score indicating device modification level, currently unused (null)

Link copied to clipboard

The current system locale in format "language_COUNTRY" (e.g., "en_US")

Link copied to clipboard

The device model name from Build.MODEL

Link copied to clipboard

The platform type, defaults to "android" for Android devices

Link copied to clipboard

The current system timezone ID (e.g., "America/Vancouver", "UTC")

Link copied to clipboard
var version: Int?

The platform version number, currently unused (null)