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

Summary

@Beta(2020, 10) class Summary

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.

Constructors

<init>

Summary(lengthInMeters: Int?, travelTime: Int?, trafficDelay: Int?, departureTime: String?, arrivalTime: String?, batteryConsumptionInkWh: Double?, remainingChargeAtArrivalInkWh: Double?)

Represents the summary of a route.

Properties

arrivalTime

var arrivalTime: String?

The estimated arrival time.

batteryConsumptionInkWh

var 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.

Functions

equals

fun equals(other: Any?): Boolean

hashCode

fun hashCode(): Int