Class RouteSummary

java.lang.Object
com.azure.maps.route.models.RouteSummary

public final class RouteSummary extends Object
Summary object.
  • Constructor Details

    • RouteSummary

      public RouteSummary()
  • Method Details

    • getLengthInMeters

      public Integer getLengthInMeters()
      Get the lengthInMeters property: Length In Meters property.
      Returns:
      the lengthInMeters value.
    • getDepartureTime

      public OffsetDateTime getDepartureTime()
      Get the departureTime property: The estimated departure time for the route or leg.
      Returns:
      the departureTime value.
    • getArrivalTime

      public OffsetDateTime getArrivalTime()
      Get the arrivalTime property: The estimated arrival time for the route or leg.
      Returns:
      the arrivalTime value.
    • getTravelTimeInSeconds

      public Duration 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

      public Duration 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.