MapboxCarContext
This is the entry point for Mapbox Navigation in Android Auto. Create this object and then you have access to services and options for customization.
The lifecycle must come from a Session.getLifecycle or Screen.getLifecycle at this time.
Parameters
used to access the CarContext.
controls the Mapbox car map surface.
Properties
Gives access to the CarContext. Throws an IllegalStateException when accessed before the lifecycle is Lifecycle.State.CREATED
Gives access to the Lifecycle that owns the CarContext.
MapboxCarMap controls the Mapbox car map surface
Access to persistent storage. Throws an IllegalStateException when accessed before the lifecycle is Lifecycle.State.CREATED.
Integrates Mapbox with the car libraries NavigationManager. Gives access to the auto drive state. Throws an IllegalStateException when accessed before the lifecycle is Lifecycle.State.CREATED.
Control the screens shown with the MapboxScreenManager.
Options available for customizing Mapbox Android Auto Navigation.
Control and access the route preview.