PlatformCollector

class PlatformCollector(tamperDetector: MutableList<TamperDetector>.() -> Unit = DefaultTamperDetector()) : DeviceCollector<PlatformInfo>

A device collector that gathers platform and device identification information.

This collector retrieves comprehensive device information including hardware identifiers, device model details, branding information, and regional settings like locale and timezone. All information is collected synchronously from Android system properties and settings.

Collected Information:

  • Device hardware identifier and model name

  • Brand and manufacturer information

  • Current locale and timezone settings

  • Platform type (always "android" for Android devices)

See also

for the data structure containing all collected platform details

Constructors

Link copied to clipboard
constructor(tamperDetector: MutableList<TamperDetector>.() -> Unit = DefaultTamperDetector())

Properties

Link copied to clipboard
open override val key: String
Link copied to clipboard
open override val serializer: KSerializer<PlatformInfo>

Functions

Link copied to clipboard
open suspend override fun collect(): PlatformInfo