RouteStopsProgress

data class RouteStopsProgress(val routeStopId: RouteStopId, val remainingTime: Duration = Duration.ZERO, val remainingDistance: Distance = Distance.ZERO)

Represents current progress along the route till given com.tomtom.sdk.route.RouteStop.

Important: This is a Public Preview API. It may be changed or removed at any time.

Parameters

routeStopId

Id of corresponding com.tomtom.sdk.route.RouteStop.

remainingTime

Estimated remaining travel time from current location till com.tomtom.sdk.route.RouteStop.

remainingDistance

Remaining distance along the route from current location till com.tomtom.sdk.route.RouteStop.

Constructors

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

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard