RouteProgress

class RouteProgress(val distanceAlongRoute: Distance, val remainingRouteStopsProgress: List<RouteStopProgress>)

Represents progress along the route.

Throws

if remainingRouteStopsProgress doesn't contain at least one RouteStopProgress for a destination.

Constructors

Link copied to clipboard
constructor(distanceAlongRoute: Distance, remainingRouteStopsProgress: List<RouteStopProgress>)

Properties

Link copied to clipboard

Distance along the route from the departure to the current location.

Link copied to clipboard

Remaining Distance along the route from the current location to the destination.

Link copied to clipboard

List of individual RouteStopProgress for remaining routeStops from the current location to the destination.

Link copied to clipboard

Estimated remaining travel time from the current location to the destination.

Link copied to clipboard

Remaining delay along the route from the current location to the destination, attributed to traffic congestion.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String