FreeDriveProgress

constructor(state: Int, currentSpeed: Double, currentSpeedLimit: Double, currentAddress: Address?, locLongitude: Double, locLatitude: Double, locAltitude: Double, locBearing: Float, locSatUsed: Int, currentMapMatchedPosition: GeoPoint?, currentMapMatchedHeading: Double, currentEnergyLoad: Double, currentSoc: Double)

Internal constructor called from JNI code : Don't modify its prototype !


constructor(trackingProgress: TrackingProgress, circuitNavigationState: CircuitNavigationState?, circuitPercentage: Double)

Constructor to create a FreeDriveProgress from a TrackingProgress.

Parameters

trackingProgress

The TrackingProgress to convert

circuitNavigationState

The current state of the circuit navigation

circuitPercentage

The current position on the circuit expressed in percentage (0-100)


constructor(state: NavigationProgressState, currentSpeed: Double, currentSpeedLimit: Double, currentAddress: Address?, currentGPSPosition: Location?, currentMapMatchedPosition: GeoPoint?, currentMapMatchedHeading: Double, currentEnergyLoad: Double, currentSoc: Double, circuitNavigationState: CircuitNavigationState?, circuitPercentage: Double)