HardwareCollector

class HardwareCollector(androidBuildProvider: AndroidBuildProvider = DefaultAndroidBuildProvider()) : DeviceCollector<HardwareInfo>

A device collector that gathers comprehensive hardware information about the Android device.

This collector retrieves various hardware specifications including display metrics, camera count, hardware identifier, manufacturer, storage capacity, memory size, and CPU core count. The information is collected synchronously and cached for subsequent calls.

See also

for the data structure containing collected hardware details

Constructors

Link copied to clipboard
constructor(androidBuildProvider: AndroidBuildProvider = DefaultAndroidBuildProvider())

Properties

Link copied to clipboard
open override val key: String
Link copied to clipboard
open override val serializer: <Error class: unknown class>

Functions

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