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 com.tomtom.sdk.routing.route.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 com.tomtom.sdk.routing.route.RouteStop.

Link copied to clipboard

Estimated remaining travel time from the current location to the com.tomtom.sdk.routing.route.RouteStop.

Link copied to clipboard

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

Link copied to clipboard

A unique identifier of the corresponding com.tomtom.sdk.routing.route.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