addOnWaypointPassListener

open fun addOnWaypointPassListener(listener: NavigationManager.OnWaypointPassListener)

Add a OnWaypointPassListener to NavigationManager to subscribe to waypoint event(s).


open fun addOnWaypointPassListener(listener: NavigationManager.OnWaypointPassListener, @Nullable executor: Executor)

Add a OnWaypointPassListener to NavigationManager to subscribe to waypoint event(s).

Parameters

executor

Executor which will execute listener's callbacks