MapboxCarMapScreenInstaller

When attaching the many possible experiences onto MapboxCarMap, this installer allows you to remove all the boilerplate. Use this installer for creating experiences that will be attached as long as a screen is in use. To assign an experience to the entire app lifecycle please use the MapboxCarMapSessionInstaller.

Use this to setup each Screen. Use the Screen.mapboxMapInstaller extension!

Parameters

screen

Android Auto Screen.

mapboxCarMap

instance that can be also be found from the install function.

Constructors

Link copied to clipboard
fun MapboxCarMapScreenInstaller(screen: Screen, mapboxCarMap: MapboxCarMap)

Functions

Link copied to clipboard

Subscribes to the Screen lifecycle and coordinates assigns the observers to their specified lifecycle.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard