Package com.mapbox.androidauto.car.preview

Types

Link copied to clipboard
class CarRouteLine : MapboxCarMapObserver

This class is to simplify the interaction with MapboxRouteLineApi, MapboxRouteArrowView, and RouteProgressObserver use cases that the app needs in the car.

Link copied to clipboard
fun interface CarRouteOptionsInterceptor

This allows you to change the route options used by Android Auto for requesting a route.

Link copied to clipboard
class CarRoutePreviewScreen(    routePreviewCarContext: RoutePreviewCarContext,     placeRecord: PlaceRecord,     navigationRoutes: List<NavigationRoute>,     placesLayerUtil: PlacesListOnMapLayerUtil = PlacesListOnMapLayerUtil()) : Screen

After a destination has been selected. This view previews the route and lets you select alternatives. From here, you can start turn-by-turn navigation.

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

Service class that requests routes for the preview screen.

Link copied to clipboard
interface CarRouteRequestCallback

This is a view interface. Each callback function represents a view that will be shown for the situations.

Link copied to clipboard
data class RoutePreviewCarContext