Package com.mapbox.androidauto.car.navigation

Types

Link copied to clipboard
class ActiveGuidanceScreen(    carActiveGuidanceContext: CarActiveGuidanceCarContext,     actionProviders: List<MapboxActionProvider>,     placesLayerUtil: PlacesListOnMapLayerUtil = PlacesListOnMapLayerUtil()) : Screen

After a route has been selected. This view gives turn-by-turn instructions for completing the route.

Link copied to clipboard
class CarActiveGuidanceCarContext(val mainCarContext: MainCarContext)
Link copied to clipboard
enum CarCameraMode : Enum<CarCameraMode>
Link copied to clipboard
class CarDistanceFormatter(unitType: UnitType)
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(carDistanceFormatter: CarDistanceFormatter, 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,     carDistanceFormatter: CarDistanceFormatter)

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 MapUserStyleObserver : MapboxCarMapObserver