Package com.tomtom.sdk.navigation.progress

Types

Link copied to clipboard
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.

Link copied to clipboard
data class RouteProgress(    val remainingTime: Duration = Duration.ZERO,     val distanceAlongRoute: Distance = Distance.ZERO,     val remainingRoutePointsProgress: List<RoutePointProgress> = emptyList())

Represents progress along the route.

Link copied to clipboard
interface RouteProgressCalculationEngine

Responsible for determining the progress made so far along the current route.

Link copied to clipboard

Stand alone implementation of RouteProgressCalculationEngine that calculates RouteProgress based on current MatchedLocation and extended route's representation (in form of Route.routeCoordinates).

Link copied to clipboard

RouteProgressCalculationEngine implementation responsible for determining the progress made so far along the current route based on the map data.