add On Traffic Changed Listener
open fun addOnTrafficChangedListener(listener: NavigationManager.OnTrafficChangedListener)
Content copied to clipboard
Add a OnTrafficChangedListener to NavigationManager to subscribe to traffic data event(s).
open fun addOnTrafficChangedListener(listener: NavigationManager.OnTrafficChangedListener, @Nullable() executor: Executor)
Content copied to clipboard
Add a OnTrafficChangedListener to NavigationManager to subscribe to traffic data event(s).
Parameters
executor
Executor which will execute listener's callbacks