RouteProgress

class RouteProgress(val remainingTime: Duration = Duration.ZERO, val distanceAlongRoute: Distance = Distance.ZERO, val remainingRouteStopsProgress: List<RouteStopsProgress> = emptyList(), 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.

Constructors

Link copied to clipboard
constructor(remainingTime: Duration = Duration.ZERO, distanceAlongRoute: Distance = Distance.ZERO, remainingRouteStopsProgress: List<RouteStopsProgress> = emptyList(), remainingTrafficDelay: Duration = Duration.ZERO)

Properties

Link copied to clipboard
Link copied to clipboard

List of individual RouteStopsProgress for remaining routeStops on the route.

Link copied to clipboard

Estimated Duration left to reach the destination.

Link copied to clipboard

Remaining traffic delay.

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