CircuitProgress

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, distanceToDest: Double, drivingDurationToDest: Int, drivingAndStopDurationToDest: Int, distanceToNextInstruction: Double, durationToNextInstruction: Int, distanceToNextWaypoint: Double, durationToNextWaypoint: Int, nextWaypointIndex: Int, totalDistance: Double, totalDrivingTime: Int, totalDrivingAndStopDuration: Int, currentRouteInstructionIndex: Int, currentRouteSectionIndex: Int, energyLoadAtNextChargeStop: Double, socAtNextChargeStop: Double, nextChargeStopDuration: Int, circuitNavigationState: Int?, circuitPercentage: Double)

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


constructor(guidanceProgress: GuidanceProgress, circuitNavigationState: CircuitNavigationState?, circuitPercentage: Double)

Constructor to create a CircuitProgress from a GuidanceProgress.

Parameters

guidanceProgress

The GuidanceProgress 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, distanceToDest: Double, drivingDurationToDest: Int, drivingAndStopDurationToDest: Int, distanceToNextInstruction: Double, durationToNextInstruction: Int, distanceToNextWaypoint: Double, durationToNextWaypoint: Int, nextWaypointIndex: Int, totalDistance: Double, totalDrivingTime: Int, totalDrivingAndStopDuration: Int, currentRouteInstructionIndex: Int, currentRouteSectionIndex: Int, energyLoadAtNextChargeStop: Double, socAtNextChargeStop: Double, nextChargeStopDuration: Int, circuitNavigationState: CircuitNavigationState?, circuitPercentage: Double)

Parameters

circuitNavigationState

The current state of the circuit navigation. See CircuitNavigationState.

circuitPercentage

The current position on the circuit expressed in percentage (0-100). This can exceed 100 if the driver is doing multiple laps.