MapboxCarMapScreenInstaller
class MapboxCarMapScreenInstaller(screen: Screen, mapboxCarMap: MapboxCarMap)
Content copied to clipboard
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
MapboxCarMapScreenInstaller
Link copied to clipboard
fun MapboxCarMapScreenInstaller(screen: Screen, mapboxCarMap: MapboxCarMap)
Content copied to clipboard
Functions
gestureHandler
Link copied to clipboard
fun gestureHandler(handler: MapboxCarMapGestureHandler?): MapboxCarMapScreenInstaller
Content copied to clipboard
onCreated
Link copied to clipboard
fun onCreated(vararg observers: MapboxCarMapObserver): MapboxCarMapScreenInstaller
Content copied to clipboard
onResumed
Link copied to clipboard
fun onResumed(vararg observers: MapboxCarMapObserver): MapboxCarMapScreenInstaller
Content copied to clipboard
onStarted
Link copied to clipboard
fun onStarted(vararg observers: MapboxCarMapObserver): MapboxCarMapScreenInstaller
Content copied to clipboard