CarNavigationInfoObserver

class CarNavigationInfoObserver(carActiveGuidanceCarContext: CarActiveGuidanceCarContext)

Observe MapboxNavigation properties that create NavigationInfo.

Attach the start functions to start observing navigation info.

Constructors

Link copied to clipboard
fun CarNavigationInfoObserver(carActiveGuidanceCarContext: CarActiveGuidanceCarContext)

Functions

Link copied to clipboard
fun start(onNavigationInfoChanged: () -> Unit)
Link copied to clipboard
fun stop()

Properties

Link copied to clipboard
val navigationInfo: NavigationTemplate.NavigationInfo? = null
Link copied to clipboard
var travelEstimateInfo: TravelEstimate? = null