RouteProgress
class RouteProgress(val distanceAlongRoute: Distance, val remainingRouteStopsProgress: List<RouteStopProgress>, val remainingTrafficDelay: Duration = Duration.ZERO)
Represents progress along the route.
Important: This is a Public Preview API. It may be changed or removed at any time.
Throws
if remainingRouteStopsProgress doesn't contain at least one RouteStopProgress for a destination.
Constructors
Link copied to clipboard
constructor(distanceAlongRoute: Distance, remainingRouteStopsProgress: List<RouteStopProgress>, remainingTrafficDelay: Duration = Duration.ZERO)
Properties
Link copied to clipboard
Distance along route.
Link copied to clipboard
Link copied to clipboard
List of individual RouteStopProgress for remaining routeStops on the route that offset is lower than distanceAlongRoute.
Link copied to clipboard
Link copied to clipboard
Remaining traffic delay.