TrackingProgress

open class TrackingProgress(val state: NavigationProgressState, val currentSpeed: Double, val currentSpeedLimit: Double, val currentAddress: Address?, val currentGPSPosition: Location?, val currentMapMatchedPosition: GeoPoint?, val currentMapMatchedHeading: Double, val currentEnergyLoad: Double, val currentSoc: Double)

Class that holds info about the current tracking

Parameters

state

the current NavigationProgressState of the navigation

currentSpeed

the current speed in km/h of the user

currentSpeedLimit

the current speed limit in km/h of the current road

currentAddress

the current Address that corresponds to the user location

currentGPSPosition

the current user Location

currentMapMatchedPosition

the map-matched GeoPoint that corresponds to the position of the user on the current road.

currentMapMatchedHeading

the current orientation of the vehicle (angle) on the current map-matched location in degrees

currentEnergyLoad

If an EV Profile has been set, it corresponds to the current estimated energy load of the vehicle in kWh

currentSoc

If an EV Profile has been set, it corresponds to the current estimated SoC (battery level) of the vehicle in %

Inheritors

Constructors

Link copied to clipboard
constructor(state: NavigationProgressState, currentSpeed: Double, currentSpeedLimit: Double, currentAddress: Address?, currentGPSPosition: Location?, currentMapMatchedPosition: GeoPoint?, currentMapMatchedHeading: Double, currentEnergyLoad: Double, currentSoc: Double)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun toString(): String