RouteAlternativesRequestCallback

interface RouteAlternativesRequestCallback

Interface definition for a callback that is notified whenever alternatives routes are refreshed on demand.

See MapboxNavigation.requestAlternativeRoutes.

Functions

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

Invoked when on-demand alternative routes request finishes.

Link copied to clipboard
abstract fun onRouteAlternativesAborted(message: String)

Invoked when the request fails or is canceled.