org.rajawali3d.renderer / ISurfaceRenderer / onTouchEvent

onTouchEvent

abstract fun onTouchEvent(event: MotionEvent!): Unit

Called as the user performs touch-screen interaction with the window that is currently showing this wallpaper. Note that the events you receive here are driven by the actual application the user is interacting with, so if it is slow you will get fewer move events.

Parameters

event - MotionEvent!: MotionEvent The touch event.

abstract fun onTouchEvent(event: MotionEvent!): Unit

Called as the user performs touch-screen interaction with the window that is currently showing this wallpaper. Note that the events you receive here are driven by the actual application the user is interacting with, so if it is slow you will get fewer move events.

Parameters

event - MotionEvent!: MotionEvent The touch event.