CarNavigationCamera  
    class CarNavigationCamera(    initialCarCameraMode: CarCameraMode,     alternativeCarCameraMode: CarCameraMode?,     carRoutesProvider: CarRoutesProvider = NavigationCarRoutesProvider(),     initialCameraOptions: CameraOptions? = CameraOptions.Builder()
        .zoom(DEFAULT_INITIAL_ZOOM)
        .build()) : MapboxCarMapObserver
Content copied to clipboard
Integrates the Android Auto MapboxCarMapSurface with the NavigationCamera.
Parameters
initialCarCameraMode   
defines the initial CarCameraMode
alternativeCarCameraMode   
is an optional toggle CarCameraMode
carRoutesProvider  
provides routes that can adjust the camera view port
initialCameraOptions  
set camera options when the camera is attached
Constructors
Link copied to clipboard
                fun CarNavigationCamera(    initialCarCameraMode: CarCameraMode,     alternativeCarCameraMode: CarCameraMode?,     carRoutesProvider: CarRoutesProvider = NavigationCarRoutesProvider(),     initialCameraOptions: CameraOptions? = CameraOptions.Builder()
        .zoom(DEFAULT_INITIAL_ZOOM)
        .build())
Content copied to clipboard
Functions
Link copied to clipboard
                Indicates whether the following camera is configured to recalculate and update the zoom level.
Link copied to clipboard
                Link copied to clipboard
                Link copied to clipboard
                Link copied to clipboard
                open override fun onVisibleAreaChanged(visibleArea: Rect, edgeInsets: EdgeInsets)
Content copied to clipboard
Link copied to clipboard
                Link copied to clipboard
                Function dedicated to zoom in map action buttons.
Link copied to clipboard
                Function dedicated to zoom in map action buttons.
Link copied to clipboard
                If true the camera may recalculate and update the zoom level. If false the feature is disabled.
Properties
Link copied to clipboard
                Allow you to observe what the next camera mode will be. The navigation camera lets you toggle between the initialCarCameraMode and alternativeCarCameraMode.