addOnBetterRouteListener

open fun addOnBetterRouteListener(listener: NavigationManager.OnBetterRouteListener)

Add a OnBetterRouteListener to NavigationManager to subscribe for better route event(s).


open fun addOnBetterRouteListener(listener: NavigationManager.OnBetterRouteListener, @Nullable executor: Executor)

Add a OnBetterRouteListener to NavigationManager to subscribe for better route event(s).

Parameters

executor

Executor which will execute listener's callbacks