TrapGyroscopeCollector

Monitors for gyroscope sensor updates and sends them as data frames.

Constructors

Link copied to clipboard
constructor()

Sets up the data collector.

Functions

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.