NavigationEventDispatcher
The source of navigation events used by NavigationVisualization. The client can use this module to dispatch navigation events to the navigation visualization.
Instances of NavigationEventDispatcher are created using NavigationEventDispatcherFactory.create. You should call methods on these instances from the main thread only, otherwise an exception may occur.
NavigationEventDispatcher should not be closed before NavigationVisualization. Only after NavigationVisualization.close is called, you can close NavigationEventDispatcher.
Functions
Dispatch HorizonUpdatedListener.onPositionUpdated.
Dispatch HorizonUpdatedListener.onHorizonReset.
Dispatch HorizonUpdatedListener.onSnapshotUpdated for every listener added using addHorizonSnapshotUpdatedListener.
Dispatch RouteAddedListener.onRouteAdded.
Dispatch RouteRemovedListener.onRouteRemoved.
Dispatch RouteUpdatedListener.onRouteUpdated.