Summary
data class Summary( val length: Distance, val travelTime: Duration, val trafficDelay: Duration = Duration.ZERO, val trafficLength: Distance = Distance.ZERO, val departureTimeWithZone: DateTime, val arrivalTimeWithZone: DateTime, val batteryConsumptionInkWh: Float = 0.0f, val fuelConsumptionInLiters: Float = 0.0f)
Content copied to clipboard
The route summary contains the high-level route data.
Parameters
length
Route length in meters.
travelTime
Estimated travel time.
trafficDelay
Traffic delay.
trafficLength
Traffic length.
departureTimeWithZone
Departure time including the time zone.
arrivalTimeWithZone
Arrival time including the time zone.
batteryConsumptionInkWh
Battery consumption for the electric cars.
fuelConsumptionInLiters
Fuels consumption for the combustion cars.
Constructors
Link copied to clipboard
fun Summary( length: Distance, travelTime: Duration, trafficDelay: Duration = Duration.ZERO, trafficLength: Distance = Distance.ZERO, departureTimeWithZone: DateTime, arrivalTimeWithZone: DateTime, batteryConsumptionInkWh: Float = 0.0f, fuelConsumptionInLiters: Float = 0.0f)
Content copied to clipboard