onTouchEvent

Called when a touch event has occurred.

Return

True if event was handled, false otherwise

Parameters

event

the motion event that has occurred

abstract fun onTouchEvent(event: MotionEvent): Boolean