carContext

Accessor for the carContext provided to the MapInitOptions. This makes it easier to create screens with the MapboxCarMap in the constructor.

For example: class YourMapScreen(val mapboxCarMap: MapboxCarMap) : Screen(mapboxCarMap.carContext) {

The carContext can also be found in the MapboxCarMapObserver callbacks. Make sure to call MapboxCarMap.clearObservers when your car session is destroyed.