add On Route Changed Listener
open fun addOnRouteChangedListener(listener: NavigationManager.OnRouteChangedListener)
Content copied to clipboard
Add a OnRouteChangedListener to NavigationManager to subscribe to route changed event(s).
open fun addOnRouteChangedListener(listener: NavigationManager.OnRouteChangedListener, @Nullable() executor: Executor)
Content copied to clipboard
Add a OnRouteChangedListener to NavigationManager to subscribe to route changed event(s).
Parameters
executor
Executor which will execute listener's callbacks