RoutePointProgress

data class RoutePointProgress(    val routePointId: RoutePointId,     val remainingTime: Duration = Duration.ZERO,     val remainingDistance: Distance = Distance.ZERO)

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

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

Parameters

routePointId
remainingTime

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

remainingDistance

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

Constructors

Link copied to clipboard
fun RoutePointProgress(    routePointId: RoutePointId,     remainingTime: Duration = Duration.ZERO,     remainingDistance: Distance = Distance.ZERO)

Properties

Link copied to clipboard
val remainingDistance: Distance
Link copied to clipboard
val remainingTime: Duration
Link copied to clipboard
val routePointId: RoutePointId