public class MotionEventManager extends java.lang.Object implements IMotionEventManager
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
TAG |
Constructor and Description |
---|
MotionEventManager() |
Modifier and Type | Method and Description |
---|---|
void |
subscribe(IPublishMotionEvents source,
IReceiveMotionEvents target)
Subscribes to motion events on the Source, propagating handlers to the Target
|
void |
unsubscribe(IPublishMotionEvents eventSource)
Unsubscribes the source from motion events
|
void |
unsubscribe(IReceiveMotionEvents eventTarget)
Unsubscribes the element from motion events
|
protected static final java.lang.String TAG
public void subscribe(IPublishMotionEvents source, IReceiveMotionEvents target)
subscribe
in interface IMotionEventManager
source
- The source of motion eventstarget
- The target to receive motion eventspublic void unsubscribe(IPublishMotionEvents eventSource)
unsubscribe
in interface IMotionEventManager
eventSource
- The source to unsubscribepublic void unsubscribe(IReceiveMotionEvents eventTarget)
unsubscribe
in interface IMotionEventManager
eventTarget
- The element to unsubscribe