addOnSpeedLimitListener

open fun addOnSpeedLimitListener(listener: NavigationManager.OnSpeedLimitListener)

Add a OnSpeedLimitListener to NavigationManager to subscribe to speed limit event(s).

open fun addOnSpeedLimitListener(listener: NavigationManager.OnSpeedLimitListener, @Nullable executor: Executor)

Add a OnSpeedLimitListener to NavigationManager to subscribe to speed limit event(s).

Parameters

executor

Executor which will execute listener's callbacks