Class TrafficOnRoute
Package com.here.sdk.routing
Class TrafficOnRoute
- java.lang.Object
-
- com.here.sdk.routing.TrafficOnRoute
-
public final class TrafficOnRoute extends java.lang.ObjectTraffic information on a route. Information for the already traveled portion of the route is omitted.
-
-
Field Summary
Fields Modifier and Type Field Description intlastTraveledSectionIndexIndicates the index of the last traveled route section.java.util.List<TrafficOnSection>trafficSectionsList of traffic sections.inttraveledDistanceOnLastSectionInMetersOffset, in meter, to the last visited position on the route section defined by the last traveled section index.
-
Constructor Summary
Constructors Constructor Description TrafficOnRoute()Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)inthashCode()
-
-
-
Field Detail
-
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 java.util.List<TrafficOnSection> trafficSections
List of traffic sections.
-
-