onTouchEvent

fun onTouchEvent(motionEvent: MotionEvent): Boolean

Passes the MotionEvent object from the activity to the Android [ ].

Return

TRUE if event is handled by the Android GestureDetector. FALSE otherwise.

Parameters

motionEvent

is a detected MotionEvent object.