CarRouteRequest

class CarRouteRequest(    val mapboxNavigation: MapboxNavigation,     routeOptionsInterceptor: CarRouteOptionsInterceptor,     navigationLocationProvider: NavigationLocationProvider)

Service class that requests routes for the preview screen.

Constructors

Link copied to clipboard
fun CarRouteRequest(    mapboxNavigation: MapboxNavigation,     routeOptionsInterceptor: CarRouteOptionsInterceptor,     navigationLocationProvider: NavigationLocationProvider)

Functions

Link copied to clipboard
fun cancelRequest()
Link copied to clipboard
fun request(placeRecord: PlaceRecord, callback: CarRouteRequestCallback)

When a search result was selected, request a route.

Link copied to clipboard
suspend fun requestSync(placeRecord: PlaceRecord): List<NavigationRoute>?

Properties

Link copied to clipboard
val mapboxNavigation: MapboxNavigation