Class RouteProgress
Contains all the relevant information on the user's progress along a route.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionRouteProgress(List<SectionProgress> sectionProgress, List<ManeuverProgress> maneuverProgress) Creates a new instance. -
Method Summary
-
Field Details
-
sectionProgress
The progress for each
Sectionfrom the current one to the last one. Note that the progress information is accumulated successively, therefore information relative to the final destination is in the last item of the list. The list is guaranteed to be non-empty. -
maneuverProgress
The progress for next and next-next maneuvers (see
Maneuver). Note that the list can contain at maximum two items (for next and next-next maneuvers) and one or zero when approaching the destination. -
routeMatchedLocation
Route matched location.
-
-
Constructor Details
-
RouteProgress
public RouteProgress(@NonNull List<SectionProgress> sectionProgress, @NonNull List<ManeuverProgress> maneuverProgress) Creates a new instance.
- Parameters:
sectionProgress-The progress for each
Sectionfrom the current one to the last one. Note that the progress information is accumulated successively, therefore information relative to the final destination is in the last item of the list. The list is guaranteed to be non-empty.maneuverProgress-The progress for next and next-next maneuvers (see
Maneuver). Note that the list can contain at maximum two items (for next and next-next maneuvers) and one or zero when approaching the destination.
-
-
Method Details