Package com.mapbox.androidauto.car.preview
Types
Link copied to clipboard
class CarRouteLine(val mainCarContext: MainCarContext, carRoutesProvider: CarRoutesProvider = NavigationCarRoutesProvider()) : MapboxCarMapObserver
Content copied to clipboard
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
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
Content copied to clipboard
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)
Content copied to clipboard
Service class that requests routes for the preview screen.
Link copied to clipboard
This is a view interface. Each callback function represents a view that will be shown for the situations.
Link copied to clipboard
class PreviewCarRoutesProvider(routes: List<NavigationRoute>) : CarRoutesProvider
Content copied to clipboard
Gives the CarRoutePreviewScreen the ability to control the selected route rendered by the CarRouteLine and CarNavigationCamera.
Link copied to clipboard