sdk-routing / com.tomtom.online.sdk.routing.ev.route / Summary

Summary

@PublicPreview("2021.06") data class Summary : Serializable

Represents the summary of a route.

Parameters

lengthInMeters - The route or leg length in meters.

travelTime - The estimated travel time in seconds.

trafficDelay - The delay in seconds compared to free-flow conditions according to real-time traffic information.

departureTime - The estimated departure time.

arrivalTime - The estimated arrival time.

batteryConsumptionInkWh - The estimated electric energy consumption in kilowatt hours (kWh).

remainingChargeAtArrivalInkWh - The estimated battery charge in kWh upon arrival at the end of the leg or the route.

Properties

arrivalTime

val arrivalTime: String?

The estimated arrival time.

batteryConsumptionInkWh

val batteryConsumptionInkWh: Double?

The estimated electric energy consumption in kilowatt hours (kWh).

departureTime

val departureTime: String?

The estimated departure time.

lengthInMeters

val lengthInMeters: Int?

The route or leg length in meters.

remainingChargeAtArrivalInkWh

val remainingChargeAtArrivalInkWh: Double?

The estimated battery charge in kWh upon arrival at the end of the leg or the route.

trafficDelay

val trafficDelay: Int?

The delay in seconds compared to free-flow conditions according to real-time traffic information.

travelTime

val travelTime: Int?

The estimated travel time in seconds.