Level Readiness Distributor
class LevelReadinessDistributor(context: Context, dispatcher: CoroutineDispatcher = Dispatchers.Main)
LevelReadinessDistributor is responsible for distributing level readiness events to 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.