MapboxCarNavigationManager

class MapboxCarNavigationManager(carContext: CarContext) : 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.

Constructors

MapboxCarNavigationManager
Link copied to clipboard
fun MapboxCarNavigationManager(carContext: CarContext)

Functions

equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
onAttached
Link copied to clipboard
open override fun onAttached(mapboxNavigation: MapboxNavigation)
onDetached
Link copied to clipboard
open override fun onDetached(mapboxNavigation: MapboxNavigation)
toString
Link copied to clipboard
open fun toString(): String

Properties

autoDriveEnabledFlow
Link copied to clipboard
val autoDriveEnabledFlow: StateFlow<Boolean>
Observe the onAutoDriveEnabled callback state.