sdk-routing / com.tomtom.online.sdk.routing.data.longDistanceEV.response / NativeRouteSummary

NativeRouteSummary

open class NativeRouteSummary : NativeSummary, Serializable

Represents the summary of a route for an electrical vehicle.

Constructors

<init>

NativeRouteSummary()
NativeRouteSummary(lengthInMeters: Int!, travelTime: Seconds!, trafficDelay: Seconds!, departureTime: String!, arrivalTime: String!, batteryConsumptionInkWh: Double!, remainingChargeAtArrivalInkWh: Double!, totalChargingTime: Seconds!)

Functions

getTotalChargingTime

open fun getTotalChargingTime(): Optional<Seconds!>!

Returns the estimated time in seconds.

toString

open fun toString(): String

Inherited Functions

getArrivalTime

open fun getArrivalTime(): Optional<String!>!

The estimated arrival time.

getBatteryConsumptionInkWh

open fun getBatteryConsumptionInkWh(): Optional<Double!>!

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

getDepartureTime

open fun getDepartureTime(): Optional<String!>!

The estimated departure time.

getLengthInMeters

open fun getLengthInMeters(): Optional<Int!>!

The route or leg length in meters.

getRemainingChargeAtArrivalInkWh

open fun getRemainingChargeAtArrivalInkWh(): Optional<Double!>!

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

getTrafficDelay

open fun getTrafficDelay(): Optional<Seconds!>!

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

getTravelTime

open fun getTravelTime(): Optional<Seconds!>!

The estimated travel time in seconds.