onTouchEvent

open override fun onTouchEvent(event: MotionEvent): Boolean

Called when a touch event has occurred.

Return

True if event was handled, false otherwise

Parameters

event

the motion event that has occurred