RouteStopProgress

class RouteStopProgress(val routeStopId: RouteStopId, val remainingTime: Duration, val remainingDistance: Distance, val remainingTrafficDelay: Duration = Duration.ZERO)

Represents current progress along the route to the given RouteStop.

Constructors

Link copied to clipboard
constructor(routeStopId: RouteStopId, remainingTime: Duration, remainingDistance: Distance, remainingTrafficDelay: Duration = Duration.ZERO)

Properties

Link copied to clipboard

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

Link copied to clipboard

Estimated remaining travel time from the current location to the RouteStop, including potential charging times and traffic delays along the route between the current location and the RouteStop and not including charging time at the RouteStop.

Link copied to clipboard

Remaining delay along the route from the current location to the RouteStop, attributed to traffic congestion. Defaults to Duration.ZERO.

Link copied to clipboard

A unique identifier of the corresponding RouteStop.

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