addOnHighwayExitListener

open fun addOnHighwayExitListener(listener: NavigationManager.OnHighwayExitListener)

Add a OnHighwayExitListener to NavigationManager to subscribe to highway exit event(s).


open fun addOnHighwayExitListener(listener: NavigationManager.OnHighwayExitListener, @Nullable executor: Executor)

Add a OnHighwayExitListener to NavigationManager to subscribe to highway exit event(s).

Parameters

executor

Executor which will execute listener's callbacks