RouteReplanningEngineOptions

constructor(routeUpdateMode: RouteUpdateMode = DEFAULT_ROUTE_UPDATE_MODE, replanRouteInterval: <Error class: unknown class> = DEFAULT_REPLAN_ROUTE_INTERVAL, minTrafficDelay: <Error class: unknown class> = DEFAULT_MIN_TRAFFIC_DELAY, minTimeDifference: <Error class: unknown class> = DEFAULT_MIN_TIME_DIFFERENCE, validRemainingRouteDuration: <Error class: unknown class> = 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.