RouteProgress

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

Properties

Link copied to clipboard
Link copied to clipboard

Remaining Distance along the route from current location till destination.

Link copied to clipboard

Estimated Duration left to reach the destination.

Link copied to clipboard

Remaining traffic delay.

Link copied to clipboard

List of individual RouteStopProgress for remaining waypoints on the route.

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