TrapMotionEventCollector

Base class for processing MotionEvents.

Inheritors

Constructors

Link copied to clipboard
constructor()

Sets up the data collector.

Properties

Link copied to clipboard

Functions

Link copied to clipboard
abstract fun processEvent(frames: MutableList<JSONArray>, event: MotionEvent)
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.