public class Summary
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
arrivalTime
Raw string representation of arrival time with timezone.
|
protected float |
batteryConsumptionInkWh
The Estimated electric energy consumption in kilowatt hours (kWh).
|
protected java.lang.String |
departureTime |
protected int |
deviationDistance
The distance (in meters) from the origin point to the first point where this route forks off from the reference route.
|
protected LatLng |
deviationPoint
The coordinates of the first point following the origin point of the calculateRoute request where this route forks off from the reference route.
|
protected int |
deviationTime
The travel time (in seconds) from the origin point to the first point where this route forks off from the reference route.
|
protected float |
fuelConsumptionInLiters
The Estimated fuel consumption in liters.
|
protected int |
historicTrafficTravelTimeInSeconds
The estimated travel time in seconds calculated using time-dependent historic traffic data.
|
protected int |
lengthInMeters
The route or leg length in meters.
|
protected int |
liveTrafficIncidentsTravelTimeInSeconds
The estimated travel time in seconds calculated using real-time speed data.
|
protected int |
noTrafficTravelTimeInSeconds
The estimated travel time in seconds calculated as if there are no delays on the route due to traffic conditions (e.g., congestion).
|
protected int |
trafficDelayInSeconds
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.
|
protected int |
travelTimeInSeconds
The estimated travel time in seconds.
|
Constructor and Description |
---|
Summary() |
Modifier and Type | Method and Description |
---|---|
org.joda.time.DateTime |
getArrivalTimeWithZone()
The estimated arrival time for the route or leg.
|
org.joda.time.DateTime |
getDepartureTimeWithZone()
The estimated departure time for the route or leg.
|
java.lang.String |
getRawArrivalTime() |
java.lang.String |
getRawDepartureTime() |
protected int lengthInMeters
protected int travelTimeInSeconds
protected int trafficDelayInSeconds
protected java.lang.String departureTime
protected java.lang.String arrivalTime
protected int noTrafficTravelTimeInSeconds
protected int historicTrafficTravelTimeInSeconds
protected int liveTrafficIncidentsTravelTimeInSeconds
protected float fuelConsumptionInLiters
protected float batteryConsumptionInkWh
protected int deviationDistance
protected int deviationTime
protected LatLng deviationPoint
public java.lang.String getRawDepartureTime()
@Nullable public org.joda.time.DateTime getDepartureTimeWithZone()
public java.lang.String getRawArrivalTime()
@Nullable public org.joda.time.DateTime getArrivalTimeWithZone()