GuidanceNotificationData

Holds updated guidance progress data used in the LocationForegroundService This is not a ViewModel as its designed to work with an Activity/Fragment but not a Service.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

the index that corresponds to the current Instruction index in the Route.sheet of the current Route

Link copied to clipboard

if an EV Profile has been set, the currentSoc is the current estimated SoC of the vehicle in kWh

Link copied to clipboard

the remaining distance in meters to the destination

Link copied to clipboard

the remaining duration in seconds to the destination that takes into account the stop times and charge durations of the route

Link copied to clipboard
Link copied to clipboard

builder for symbolic maneuvers icons that can be null if style is not defined in ForegroundNotificationContent.symbolicManeuverStyle

Link copied to clipboard

the estimated energy load in kWh of the vehicle at the next RouteWaypoint.chargePoolStop

Functions

Link copied to clipboard
open override fun onNavigationProgressChanged(navigationProgress: TrackingProgress)

Notifies about the navigation progress by returning updated info each second. This will be called only if a session is started by using Navigation.startSession.