Package com.here.sdk.routing
Class TrafficOnRoute
java.lang.Object
com.here.sdk.routing.TrafficOnRoute
Traffic information on a route. Information for the already traveled portion of the route is omitted.
-
Field Summary
FieldsModifier and TypeFieldDescriptionintIndicates the index of the last traveled route section.The unique identifier of the route this traffic information belongs to.List of traffic sections.intOffset, in meter, to the last visited position on the route section defined by the last traveled section index. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
routeTag
The unique identifier of the route this traffic information belongs to. Note: This is a beta release of this feature and may contain bugs or exhibit unexpected behaviour. Related APIs are subject to change without a deprecation process.
-
lastTraveledSectionIndex
public int lastTraveledSectionIndexIndicates the index of the last traveled route section. Traveled part of the route won't be reused.
-
traveledDistanceOnLastSectionInMeters
public int traveledDistanceOnLastSectionInMetersOffset, in meter, to the last visited position on the route section defined by the last traveled section index.
-
trafficSections
List of traffic sections.
-
-
Constructor Details
-
TrafficOnRoute
public TrafficOnRoute()Creates a new instance.
-
-
Method Details