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.
Functions
Dispatch ActiveRouteChangedListener.onActiveRouteChanged for every listener added using addActiveRouteChangedListener.
Dispatch DestinationArrivalListener.onDestinationArrived for every listener added using addDestinationArrivalListener.
Dispatch HorizonUpdatedListener.onPositionUpdated for every listener added using addHorizonSnapshotUpdatedListener.
Dispatch HorizonUpdatedListener.onSnapshotUpdated for every listener added using addHorizonSnapshotUpdatedListener.
Dispatch NavigationStartedListener.onNavigationStarted for every listener added using addNavigationStartedListener.
Dispatch ProgressUpdatedListener.onProgressUpdated for every listener added using addProgressUpdatedListener.
Dispatch RouteSnapshotUpdatedListener.onSnapshotUpdated for every listener added using addRouteSnapshotUpdatedListener.
Dispatch RouteUpdatedListener.onRouteUpdated for every listener added using addRouteUpdatedListener.