DeviceCollector

interface DeviceCollector<T : @Serializable Any>

Represents a device collector that collects data of type T.

Parameters

T

The type of data to be collected, which must be serializable.

Inheritors

Properties

Link copied to clipboard
abstract val key: String
Link copied to clipboard
abstract val serializer: KSerializer<T>

Functions

Link copied to clipboard
abstract suspend fun collect(): T?