Route Alternatives Observer
fun fun interface RouteAlternativesObserver
Content copied to clipboard
Interface definition for an observer that is notified whenever the Navigation SDK checks for alternative routes to the destination.
See also
com.mapbox.navigation.base.route.RouteAlternativesOptions
to control the callback interval.
Functions
onRouteAlternatives
Link copied to clipboard
abstract fun onRouteAlternatives(routeProgress: RouteProgress, alternatives: List<DirectionsRoute>, routerOrigin: RouterOrigin)
Content copied to clipboard