Mapbox Car Map Screen Installer
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.
mapbox Car Map
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
gesture Handler
Link copied to clipboard
fun gestureHandler(handler: MapboxCarMapGestureHandler?): MapboxCarMapScreenInstaller
Content copied to clipboard
on Created
Link copied to clipboard
fun onCreated(vararg observers: MapboxCarMapObserver): MapboxCarMapScreenInstaller
Content copied to clipboard
on Resumed
Link copied to clipboard
fun onResumed(vararg observers: MapboxCarMapObserver): MapboxCarMapScreenInstaller
Content copied to clipboard
on Started
Link copied to clipboard
fun onStarted(vararg observers: MapboxCarMapObserver): MapboxCarMapScreenInstaller
Content copied to clipboard