Motion Distributor
This class is responsible for distributing motion events to listeners. It listens for motion events from the MotionManager and notifies the listeners.
Parameters
context
The context of the application
dispatcher
The dispatcher that is used to listen on
Properties
Functions
Link copied to clipboard
This method starts listening for motion events from the MotionManager and notifies the listeners when they occur.
Link copied to clipboard
This method stops listening for motion events from the MotionManager. This should be called when the MotionDistributor is no longer needed.