Package com.mapbox.navigation.base.route

Types

ExclusionViolation
Link copied to clipboard
data class ExclusionViolation(type: String, route: DirectionsRoute, legIndex: Int, leg: RouteLeg, stepIndex: Int, step: LegStep, intersectionIndex: Int, intersection: StepIntersection)
Violated road type.
RouteAlternativesOptions
Link copied to clipboard
class RouteAlternativesOptions
The options available for observing alternative routes.
Router
Link copied to clipboard
interface Router
Router provides API to fetch route and cancel route-fetching request.
RouterCallback
Link copied to clipboard
interface RouterCallback
Interface definition for a callback associated with routes request.
RouteRefreshCallback
Link copied to clipboard
interface RouteRefreshCallback
Callback for refresh route
RouteRefreshError
Link copied to clipboard
data class RouteRefreshError(message: String?, throwable: Throwable?)
Route refresh Error
RouteRefreshOptions
Link copied to clipboard
class RouteRefreshOptions
The options available for refreshing the active DirectionsRoute.
RouterFailure
Link copied to clipboard
data class RouterFailure @JvmOverloads() constructor(url: URL, routerOrigin: RouterOrigin, message: String, code: Int?, throwable: Throwable?)
Describes a reason for a route request failure.
RouterOrigin
Link copied to clipboard
sealed class RouterOrigin
Describes which kind of router presents response.

Functions

exclusionViolations
Link copied to clipboard
fun DirectionsRoute.exclusionViolations(): List<ExclusionViolation>
Returns all violated exclusions for this route.