Package com.mapbox.androidauto.car.preview

Types

Link copied to clipboard
class CarRouteLine(carRoutesProvider: CarRoutesProvider = NavigationCarRoutesProvider()) : 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 CarRoutePreviewRepository

Repository for passing the route preview data to MapboxScreen.ROUTE_PREVIEW.

Link copied to clipboard
class CarRoutePreviewRequest : MapboxNavigationObserver

Service class that requests routes for the preview screen.

Link copied to clipboard
interface CarRoutePreviewRequestCallback

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

Gives the CarRoutePreviewScreen the ability to control the selected route rendered by the CarRouteLine and CarNavigationCamera.