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.
Constructors
Functions
Allows you to define values used by the Mapbox Android Auto Navigation SDK.
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.
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.