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

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun dispatchOnRoutesChanged(navigatedRoutes: NavigatedRoutes)

Dispatch RoutesChangedListener.onRoutesChanged for every listener added using addRoutesChangedListener

Link copied to clipboard
Link copied to clipboard
abstract fun dispatchOnRouteUpdated(route: Route, updateReason: RouteUpdateReason)

Dispatch RouteUpdatedListener.onRouteUpdated for every listener added using addRouteUpdatedListener

Link copied to clipboard
Link copied to clipboard

Inherited functions

Link copied to clipboard
abstract fun close()