The CarContext class extends ContextWrapper, making it accessible
to your Session and Screen instances. CarContext provides access to
essential car services, including the:
ScreenManager, to manage the screen stack.AppManager, to get general app-related functionality, such as accessing theSurfaceobject for drawing maps.NavigationManager, used by turn-by-turn navigation apps to communicate navigation metadata and other navigation-related events with the host.
To see a list of library functionality available to navigation apps, see Access the navigation templates.
CarContext also offers other functionality, such as letting you load drawable
resources by using the configuration from the car screen and signaling that
your app should display its map in dark theme.