Interface IReceiveMotionEvents
Defines the interface to a type which receives unified motion events
Namespace:
Assembly: .dll
Syntax
public interface IReceiveMotionEvents
Methods
getIsEnabled()
Get whether this IReceiveMotionEvents instance is enabled for interaction
Declaration
public abstract boolean getIsEnabled()
Returns
Type | Description |
---|---|
boolean | True if this modifier is enabled for interaction |
getName()
Gets the name of receiver
Declaration
public abstract String getName()
Returns
Type | Description |
---|---|
String | The name of receiver |
getReceiveHandledEvents()
Gets a value indicating whether motion events should be propagated to the target
Declaration
public abstract boolean getReceiveHandledEvents()
Returns
Type | Description |
---|---|
boolean | True if motion events should be propagated to the target. |
onGenericMotion(ModifierTouchEventArgs args)
Called when new generic motion event occurs
Declaration
public abstract void onGenericMotion(ModifierTouchEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
ModifierTouchEventArgs | args | The event args for this event |
onTouch(ModifierTouchEventArgs args)
Called when new touch event occurs
Declaration
public abstract void onTouch(ModifierTouchEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
ModifierTouchEventArgs | args | The event args for this event |