Class MotionEventManager
A helper class to propagate motion events
Inheritance
MotionEventManager
Namespace:
Assembly: .dll
Syntax
public class MotionEventManager implements IMotionEventManager
Constructors
MotionEventManager()
Declaration
public MotionEventManager()
Fields
TAG
Declaration
protected static final String TAG
Field Value
Methods
getListenersByTarget()
Declaration
protected final HashMap<IReceiveMotionEvents,MotionEventManager.MotionEventsDispatcher> getListenersByTarget()
Returns
getTargetsBySource()
Declaration
protected final HashMap<IPublishMotionEvents,List<IReceiveMotionEvents>> getTargetsBySource()
Returns
subscribe(IPublishMotionEvents source, IReceiveMotionEvents target)
Subscribes to motion events on the Source, propagating handlers to the Target
Declaration
public void subscribe(IPublishMotionEvents source, IReceiveMotionEvents target)
Parameters
unsubscribe(IPublishMotionEvents eventSource)
Unsubscribes the source from motion events
Declaration
public void unsubscribe(IPublishMotionEvents eventSource)
Parameters
unsubscribe(IReceiveMotionEvents eventTarget)
Unsubscribes the element from motion events
Declaration
public void unsubscribe(IReceiveMotionEvents eventTarget)
Parameters
Implements