RouteDeviation (API Reference)
Package com.here.sdk.navigation
Class RouteDeviation
java.lang.Object
com.here.sdk.navigation.RouteDeviation
Contains all the relevant information on a deviation from the route.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe current location.The last known location on the route.intIndicates the index of the last traveled route section.intOffset in meter to the last visited position on the route section defined by the last traveled section index. -
Constructor Summary
ConstructorsConstructorDescriptionRouteDeviation(NavigableLocation lastLocationOnRoute, int lastTraveledSectionIndex, int traveledDistanceOnLastSectionInMeters, NavigableLocation currentLocation) Creates a new instance. -
Method Summary
-
Field Details
-
lastLocationOnRoute
The last known location on the route.
-
lastTraveledSectionIndex
public int lastTraveledSectionIndexIndicates the index of the last traveled route section.
-
traveledDistanceOnLastSectionInMeters
public int traveledDistanceOnLastSectionInMetersOffset in meter to the last visited position on the route section defined by the last traveled section index.
-
currentLocation
The current location.
-
-
Constructor Details
-
Method Details