This class contains all progress information at any given time during a navigation session. This progress includes information for the current route, leg, and step that the user is traveling along. With every new valid location update, a new route progress will be generated using the latest information.
The latest route progress object can be obtained through the RouteProgressObserver. Note that the route progress object's immutable.
NavigationRoute the navigation session is currently using. When a reroute occurs and a new directions route gets obtained, with the next location update this directions route should reflect the new route.
BannerInstructions current instructions for visual guidance.
VoiceInstructions current instruction for audio guidance.
RouteProgressState the current state of progress along the route. Provides route and location tracking information.
List location coordinates describing the upcoming step.
Float fraction traveled along the current route. This value is between 0 and 1 and isn't guaranteed to reach 1 before the user reaches the end of the route.
list of upcoming road objects.
true if there were no location updates for a significant amount which causes a lack of confidence in the progress updates being sent.
in case of currentState equal to RouteProgressState.OFF_ROUTE, this field can provide the route ID of an alternative route that user turned into causing off-route event (if there is one). This field can be used to find a route with NavigationRoute.id that can be immediately used as the new primary route.
route-wise index representing the geometry point right in front of the user (see DirectionsRoute.geometry).