RouteSnapshot
constructor(routePlan: RoutePlan, projection: ProjectedRoute? = null, numberOfVisitedWaypoints: Int = 0, nextWaypoint: RouteStop? = null, routeProgress: RouteProgress = RouteProgress(), isFollowed: Boolean = true, waypointArrivalHistory: List<WaypointArrivalStatus> = emptyList())
Parameters
routePlan
Active RoutePlan.
projection
Projected route ProjectedRoute.
numberOfVisitedWaypoints
The number of waypoints already visited on the current route.
nextWaypoint
The RouteStop the user is currently navigating to, or null if the user is navigating directly to the destination.
waypointArrivalHistory
List of WaypointArrivalStatus published by the arrival engine.
routeProgress
Current progress along the route.
isFollowed
Indicates if the route is being followed.