Interface IMotionEventDispatcher
Defines the interface with motion event callbacks
Namespace:
Assembly: .dll
Syntax
public interface IMotionEventDispatcher
Methods
onGenericMotionEvent(MotionEvent event)
Called when need to handle generic screen motion events.
Declaration
public abstract boolean onGenericMotionEvent(MotionEvent event)
Parameters
Type | Name | Description |
---|---|---|
android.view.MotionEvent | event | Event to handle |
Returns
Type | Description |
---|---|
boolean | True if the event was handled, false otherwise. |
onTouchEvent(MotionEvent event)
Called when need to handle touch screen motion events.
Declaration
public abstract boolean onTouchEvent(MotionEvent event)
Parameters
Type | Name | Description |
---|---|---|
android.view.MotionEvent | event | Event to handle |
Returns
Type | Description |
---|---|
boolean | True if the event was handled, false otherwise. |