NavigationRouteAlternativesObserver

interface NavigationRouteAlternativesObserver

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<NavigationRoute>,     routerOrigin: RouterOrigin)

Invoked whenever available alternative routes to the destination change.

Link copied to clipboard
abstract fun onRouteAlternativesError(error: RouteAlternativesError)

Notified when an alternative routes request encounters an error.