addOnRouteChangedListener

open fun addOnRouteChangedListener(listener: NavigationManager.OnRouteChangedListener)

Add a OnRouteChangedListener to NavigationManager to subscribe to route changed event(s).

open fun addOnRouteChangedListener(listener: NavigationManager.OnRouteChangedListener, @Nullable() executor: Executor)

Add a OnRouteChangedListener to NavigationManager to subscribe to route changed event(s).

Parameters

executor

Executor which will execute listener's callbacks