Package com.mapbox.navigation.ui.androidauto.navigation

Types

Link copied to clipboard
class CarActiveGuidanceMarkers(carRoutesProvider: CarRoutesProvider = NavigationCarRoutesProvider()) : MapboxCarMapObserver
Link copied to clipboard
class CarArrivalTrigger : MapboxNavigationObserver

When attached this will observe when the final destination is reached and change the car app state to the MapboxScreen.ARRIVAL. This is not a MapboxCarMapObserver because arrival can happen even when the map is not showing.

Link copied to clipboard
enum CarCameraMode : Enum<CarCameraMode>
Link copied to clipboard
object CarDistanceFormatter

Object for formatting distances. Set the DistanceFormatterOptions through the NavigationOptions.

Link copied to clipboard
class CarLocationsOverviewCamera(initialCameraOptions: CameraOptions = CameraOptions.Builder() .zoom(DEFAULT_INITIAL_ZOOM) .build()) : MapboxCarMapObserver
Link copied to clipboard
class CarNavigationCamera(    initialCarCameraMode: CarCameraMode,     alternativeCarCameraMode: CarCameraMode?,     carRoutesProvider: CarRoutesProvider = NavigationCarRoutesProvider(),     initialCameraOptions: CameraOptions? = CameraOptions.Builder() .zoom(DEFAULT_INITIAL_ZOOM) .build()) : MapboxCarMapObserver

Integrates the Android Auto MapboxCarMapSurface with the NavigationCamera.

Link copied to clipboard
class CarNavigationEtaMapper(tripProgressApi: MapboxTripProgressApi)
Link copied to clipboard
class CarNavigationInfo

Contains data needed to populate the NavigationTemplate.

Link copied to clipboard
class CarNavigationInfoMapper(    context: Context,     carManeuverInstructionRenderer: CarManeuverInstructionRenderer,     carManeuverIconRenderer: CarManeuverIconRenderer,     carLanesImageGenerator: CarLanesImageRenderer)

The car library provides an NavigationTemplate.NavigationInfo interface to show in a similar way we show Maneuvers. This class takes our maneuvers and maps them to the provided RoutingInfo for now.

Link copied to clipboard
class CarNavigationInfoProvider : MapboxCarMapObserver

Provides the NavigationTemplate.NavigationInfo and TravelEstimate populated with Mapbox navigation data. This can be used with a Screen that shows a NavigationTemplate.

Link copied to clipboard
class MapboxCarNavigationManager : MapboxNavigationObserver

Register this observer using MapboxNavigationApp.registerObserver. As long as it is registered, the trip status of MapboxNavigation will be sent to the NavigationManager. This is needed to keep the vehicle cluster display updated.

Link copied to clipboard
class MapUserStyleObserver : MapboxCarMapObserver