Class TrafficOnRoute

java.lang.Object
com.here.sdk.routing.TrafficOnRoute

public final class TrafficOnRoute extends Object

Traffic information on a route. Information for the already traveled portion of the route is omitted.

  • Field Details

    • lastTraveledSectionIndex

      public int lastTraveledSectionIndex

      Indicates the index of the last traveled route section. Traveled part of the route won't be reused.

    • traveledDistanceOnLastSectionInMeters

      public int traveledDistanceOnLastSectionInMeters

      Offset, in meter, to the last visited position on the route section defined by the last traveled section index.

    • trafficSections

      @NonNull public List<TrafficOnSection> trafficSections

      List of traffic sections.

  • Constructor Details

    • TrafficOnRoute

      public TrafficOnRoute()

      Creates a new instance.

  • Method Details