Package-level declarations

Types

Link copied to clipboard

This class contains the default map gestures. It Handles the gestures received from SurfaceCallback and applies them to the MapboxMap camera. If you would like to customize the map gestures, use MapboxCarMap.setGestureHandler.

Link copied to clipboard

This is the main entry point for controlling the Mapbox car map surface.

Link copied to clipboard
This interface captures gesture events from Android Auto's SurfaceCallback.
Link copied to clipboard

Lazy initialization for the MapInitOptions. The CarContext is not created until the Session has been created. Use this initializer to specify custom initial map options.

Link copied to clipboard
Many downstream services will not work until the surface has been created and the map has loaded.
Link 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.

Link copied to clipboard
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.

Link copied to clipboard

This contains the Android Auto head unit map information.

Functions

Link copied to clipboard

Shorthand extension for installing the map onto a Session.

Shorthand extension for installing an experience onto a Screen.