setup
fun setup(carContext: CarContext, mapInitOptions: MapInitOptions): MapboxCarMap
Content copied to clipboard
Calls AppManager.setSurfaceCallback to give Mapbox access to render the map onto Android Auto head units. You should only call this once per CarContext in a Session.
Parameters
car Context
Android Auto CarContext
map Init Options
parameter to initialize the head unit map