NavigationRouteAlternativesRequestCallback

interface NavigationRouteAlternativesRequestCallback

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<NavigationRoute>, routerOrigin: RouterOrigin)
Invoked when on-demand alternative routes request finishes.
onRouteAlternativesRequestError
Link copied to clipboard
abstract fun onRouteAlternativesRequestError(error: RouteAlternativesError)
Invoked when the request fails or is canceled.
toString
Link copied to clipboard
open fun toString(): String