RouteAlternativesObserver

fun interface RouteAlternativesObserver

Interface definition for an observer that is notified whenever the Navigation SDK checks for alternative routes to the destination change.

See also

Functions

Link copied to clipboard
abstract fun onRouteAlternatives(    routeProgress: RouteProgress,     alternatives: List<DirectionsRoute>,     routerOrigin: RouterOrigin)

Invoked whenever available alternative routes to the destination change.