RouteAlternativesRequestCallback

interface RouteAlternativesRequestCallback

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

See MapboxNavigation.requestAlternativeRoutes.

Functions

equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
onRouteAlternativeRequestFinished
Link copied to clipboard
abstract fun onRouteAlternativeRequestFinished(routeProgress: RouteProgress, alternatives: List<DirectionsRoute>, routerOrigin: RouterOrigin)
Invoked when on-demand alternative routes request finishes.
onRouteAlternativesAborted
Link copied to clipboard
abstract fun onRouteAlternativesAborted(message: String)
Invoked when the request fails or is canceled.
toString
Link copied to clipboard
open fun toString(): String