Package com.azure.maps.route.models
Class RouteSummary
java.lang.Object
com.azure.maps.route.models.RouteSummary
Summary object.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the arrivalTime property: The estimated arrival time for the route or leg.Get the departureTime property: The estimated departure time for the route or leg.Get the lengthInMeters property: Length In Meters property.Get the trafficDelayInSeconds property: Estimated delay in seconds caused by the real-time incident(s) according to traffic information.Get the travelTimeInSeconds property: Estimated travel time in seconds property that includes the delay due to real-time traffic.
-
Constructor Details
-
RouteSummary
public RouteSummary()
-
-
Method Details
-
getLengthInMeters
Get the lengthInMeters property: Length In Meters property.- Returns:
- the lengthInMeters value.
-
getDepartureTime
Get the departureTime property: The estimated departure time for the route or leg.- Returns:
- the departureTime value.
-
getArrivalTime
Get the arrivalTime property: The estimated arrival time for the route or leg.- Returns:
- the arrivalTime value.
-
getTravelTimeInSeconds
Get the travelTimeInSeconds property: Estimated travel time in seconds property that includes the delay due to real-time traffic. Note that even when traffic=false travelTimeInSeconds still includes the delay due to traffic. If DepartAt is in the future, travel time is calculated using time-dependent historic traffic data.- Returns:
- the travelTimeInSeconds value.
-
getTrafficDelayInSeconds
Get the trafficDelayInSeconds property: Estimated delay in seconds caused by the real-time incident(s) according to traffic information. For routes planned with departure time in the future, delays is always 0. To return additional travel times using different types of traffic information, parameter computeTravelTimeFor=all needs to be added.- Returns:
- the trafficDelayInSeconds value.
-