RouteAlternativesObserver

fun 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

com.mapbox.navigation.base.route.RouteAlternativesOptions

to control the callback interval.

Functions

equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
onRouteAlternatives
Link copied to clipboard
abstract fun onRouteAlternatives(routeProgress: RouteProgress, alternatives: List<DirectionsRoute>, routerOrigin: RouterOrigin)
Invoked whenever available alternative routes to the destination change.
toString
Link copied to clipboard
open fun toString(): String