addOnPlaceListener

open fun addOnPlaceListener(listener: NavigationManager.OnPlaceListener)

Add a OnPlaceListener to NavigationManager to subscribe to nearby poi on route data event(s).

open fun addOnPlaceListener(listener: NavigationManager.OnPlaceListener, @Nullable() executor: Executor)

Add a OnPlaceListener to NavigationManager to subscribe to nearby poi on route data event(s).

Parameters

executor

Executor which will execute listener's callbacks