TrapMetadataCollector

Collect device specific metadata and send it as data frames periodically.

Constructors

Link copied to clipboard
constructor()

Sets up the data collector.

Functions

Link copied to clipboard
fun addCustom(key: String, value: Any)
Link copied to clipboard
Link copied to clipboard
open override fun start(activity: Activity, config: TrapConfig.DataCollection, storage: SynchronizedQueue<JSONArray>)

Start the data collection process for this particular collector with the specified config.

Link copied to clipboard
open override fun stop(activity: Activity)

Stop the data collection process for this particular collector.