Class TouchGestureHandler
-
- All Implemented Interfaces:
public final class TouchGestureHandler
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceTouchGestureHandler.TouchGestureListener
-
Constructor Summary
Constructors Constructor Description TouchGestureHandler(TouchGestureHandler.TouchGestureListener mListener)
-
Method Summary
Modifier and Type Method Description final UnithandleTouchEvent(MotionEvent event)Handles touch events and delegates the actions to the listener. -
-
Constructor Detail
-
TouchGestureHandler
TouchGestureHandler(TouchGestureHandler.TouchGestureListener mListener)
-
-
Method Detail
-
handleTouchEvent
final Unit handleTouchEvent(MotionEvent event)
Handles touch events and delegates the actions to the listener. The method processes the following actions:
ACTION_DOWN: Indicates the start of a touch event. CallsonTouchBeginon the listener.ACTION_UPorACTION_CANCEL: Indicates the end or cancellation of a touch event. CallsonTouchEndon the listener.
-
-
-
-