open class Summary : Serializable
The route summary. It contains basic information about the route, e.g., length, travel time, etc.
Summary()
Empty constructor for the Summary(lengthInMeters: Int, travelTimeInSeconds: Int, trafficDelayInSeconds: Int, departureTime: String!, arrivalTime: String!, noTrafficTravelTimeInSeconds: Int, historicTrafficTravelTimeInSeconds: Int, liveTrafficIncidentsTravelTimeInSeconds: Int, fuelConsumptionInLiters: Float, batteryConsumptionInkWh: Float, deviationDistance: Int, deviationTime: Int, deviationPoint: LatLng!)
Default constructor for the |
var arrivalTime: String!
Raw string representation of arrival time with timezone. |
|
var batteryConsumptionInkWh: Float
The Estimated electric energy consumption in kilowatt hours (kWh). Valid for the electric engine type. |
|
var departureTime: String! |
|
var deviationDistance: Int
The distance (in meters) from the origin point to the first point where this route forks off from the reference route. |
|
var deviationPoint: LatLng!
The coordinates of the first point following the origin point of the calculateRoute request where this route forks off from the reference route. |
|
var deviationTime: Int
The travel time (in seconds) from the origin point to the first point where this route forks off from the reference route. |
|
var fuelConsumptionInLiters: Float
The Estimated fuel consumption in liters. Valid for the combustion engine type. |
|
var historicTrafficTravelTimeInSeconds: Int
The estimated travel time in seconds calculated using time-dependent historic traffic data. Included if requested using the computeTravelTimeFor parameter. |
|
var lengthInMeters: Int
The route or leg length in meters. |
|
var liveTrafficIncidentsTravelTimeInSeconds: Int
The estimated travel time in seconds calculated using real-time speed data. Included if requested using the computeTravelTimeFor parameter. |
|
var noTrafficTravelTimeInSeconds: Int
The estimated travel time in seconds calculated as if there are no delays on the route due to traffic conditions (e.g., congestion). Included if requested using the computeTravelTimeFor parameter. |
|
var trafficDelayInSeconds: Int
Traffic delay is the difference between the travel time calculated using all available traffic information and travel time calculated without the influence of current and historic traffic data. |
|
var travelTimeInSeconds: Int
The estimated travel time in seconds. Note that even when traffic=false, travelTimeInSeconds still includes the delay due to traffic. |
open fun getArrivalTimeWithZone(): DateTime?
The estimated arrival time for the route or leg. Specified as a dateTime. Returns null if not available. Information with timezone. |
|
open fun getDepartureTimeWithZone(): DateTime?
The estimated departure time for the route or leg. Specified as a dateTime. Returns null if not available. Information with timezone. |
|
open fun getRawArrivalTime(): String! |
|
open fun getRawDepartureTime(): String! |