OffRouteObserver

fun interface OffRouteObserver

This interface is for turn-by-turn route navigation, but not in free-drive mode. This interface can be registered via a MapboxNavigation object.

Functions

Link copied to clipboard
abstract fun onOffRouteStateChanged(offRoute: Boolean)

Called whenever the user is off route