Package com.tomtom.sdk.navigation.replanning

Types

Link copied to clipboard
interface BetterRouteSelector

Responsible for selecting a better route inside RouteReplanningEngine.

Link copied to clipboard
enum ContinuousReplanningMode : Enum<ContinuousReplanningMode>

Specifies how to handle continuous route replanning.

Link copied to clipboard
enum DeviationReplanningMode : Enum<DeviationReplanningMode>

Specifies how to handle route replanning on deviation.

Link copied to clipboard
value class MaintainRoutesMode

Specifies the mode for maintaining the routes in the navigation session during navigation.

Link copied to clipboard
data class ReplannedRoute(    val route: Route,     val replanningReason: RouteReplanningReason,     val creationTime: Long)

Describes the route after replanning.

Link copied to clipboard
interface ReplanningRetryPolicy

Specifies how to handle requests which failed during replanning of a Route.

Link copied to clipboard
interface RouteReplanningEngine : Disposable

Responsible for replanning a route.

Link copied to clipboard
object RouteReplanningEngineFactory

Responsible for creating default implementation of RouteReplanningEngine.

Link copied to clipboard
class RouteReplanningEngineOptions(    val routeUpdateMode: RouteUpdateMode = DEFAULT_ROUTE_UPDATE_MODE,     val replanRouteInterval: Duration = DEFAULT_REPLAN_ROUTE_INTERVAL,     val minTrafficDelay: Duration = DEFAULT_MIN_TRAFFIC_DELAY,     val minTimeDifference: Duration = DEFAULT_MIN_TIME_DIFFERENCE,     val validRemainingRouteDuration: Duration = DEFAULT_VALID_ROUTE_DURATION_REMAINING)
Link copied to clipboard
value class RouteReplanningError(val message: String)

Error returned by the RouteReplanningEngine in case of a failure.

Link copied to clipboard
enum RouteReplanningReason : Enum<RouteReplanningReason>

Specifies the reason for replanning the current route.

Link copied to clipboard
enum RouteUpdateMode : Enum<RouteUpdateMode>

Specifies whether or not the system should try to periodically update the active route and look for better route proposals.

Link copied to clipboard
class TomTomReplanningRetryPolicy(maxRetryDelay: Duration = MAX_RETRY_DELAY) : ReplanningRetryPolicy

Default implementation of a ReplanningRetryPolicy.