open class NativeLegSummary : NativeSummary, Serializable
Represents the summary of a route leg.
NativeLegSummary() NativeLegSummary(lengthInMeters: Int!, travelTime: Seconds!, trafficDelay: Seconds!, departureTime: String!, arrivalTime: String!, batteryConsumptionInkWh: Double!, remainingChargeAtArrivalInkWh: Double!, chargingInformationAtEndOfLeg: NativeChargingInformationAtEndOfLeg!) |
open fun getChargingInformationAtEndOfLeg(): Optional<NativeChargingInformationAtEndOfLeg!>!
Returns the details about the charging stop. |
|
open fun toString(): String |
open fun getArrivalTime(): Optional<String!>!
The estimated arrival time. |
|
open fun getBatteryConsumptionInkWh(): Optional<Double!>!
The estimated electric energy consumption in kilowatt hours (kWh). |
|
open fun getDepartureTime(): Optional<String!>!
The estimated departure time. |
|
open fun getLengthInMeters(): Optional<Int!>!
The route or leg length in meters. |
|
open fun getRemainingChargeAtArrivalInkWh(): Optional<Double!>!
The estimated battery charge in kWh upon arrival at the end of the leg or the route. |
|
open fun getTrafficDelay(): Optional<Seconds!>!
The delay in seconds compared to free-flow conditions according to real-time traffic information. |
|
open fun getTravelTime(): Optional<Seconds!>!
The estimated travel time in seconds. |