MapboxCarMapSessionInstaller

class MapboxCarMapSessionInstaller(session: Session, mapboxCarMap: MapboxCarMap = MapboxCarMap())

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 the head unit is using your application. To assign an experience to a screen please use the MapboxCarMapScreenInstaller.

Use this to setup the Session. Use the Session.mapboxMapInstaller extension!

Parameters

session

Android Auto Session.

mapboxCarMap

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

Constructors

Link copied to clipboard
fun MapboxCarMapSessionInstaller(session: Session, mapboxCarMap: MapboxCarMap = MapboxCarMap())

Functions

Link copied to clipboard
fun install(initializer: MapboxCarMapInitializer = defaultInitializer): MapboxCarMap

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

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