RouteReplanningEngineOptions

fun RouteReplanningEngineOptions(routeUpdateMode: RouteUpdateMode = DEFAULT_ROUTE_UPDATE_MODE, replanRouteInterval: Duration = DEFAULT_REPLAN_ROUTE_INTERVAL, minTrafficDelay: Duration = DEFAULT_MIN_TRAFFIC_DELAY, minTimeDifference: Duration = DEFAULT_MIN_TIME_DIFFERENCE, validRemainingRouteDuration: Duration = DEFAULT_VALID_ROUTE_DURATION_REMAINING)

Parameters

routeUpdateMode

Specifies whether route updates are enabled or disabled.

replanRouteInterval

Time interval which engine will ask for replan.

minTrafficDelay

Minimal traffic delay on current route to look for better alternative.

minTimeDifference

How much alternative route has to be faster to be used as replan proposal.

validRemainingRouteDuration

Defines till what point in time before arrival RouteReplanningEngine should try to replan a route.