TrapGestureCollector

Collects basic gesture events and packages them as data frames.

Constructors

Link copied to clipboard
constructor()

Sets up the data collector.

Functions

Link copied to clipboard
open override fun onDown(p0: MotionEvent): Boolean
Link copied to clipboard
open override fun onFling(p0: MotionEvent, p1: MotionEvent, p2: Float, p3: Float): Boolean
Link copied to clipboard
open override fun onLongPress(p0: MotionEvent)
Link copied to clipboard
open override fun onScroll(p0: MotionEvent, p1: MotionEvent, p2: Float, p3: Float): Boolean
Link copied to clipboard
open override fun onShowPress(p0: MotionEvent)
Link copied to clipboard
open override fun onSingleTapUp(p0: MotionEvent): Boolean
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.