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

NativeSummary

open class NativeSummary : Serializable

Represents the summary of a route.

Constructors

<init>

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

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.

toString

open fun toString(): String

Inheritors

NativeLegSummary

open class NativeLegSummary : NativeSummary, Serializable

Represents the summary of a route leg.

NativeRouteSummary

open class NativeRouteSummary : NativeSummary, Serializable

Represents the summary of a route for an electrical vehicle.