RouteReplanningEngineOptions
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)
Options used by RouteReplanningEngineFactory to create RouteReplanningEngine.
Important: This is a Public Preview API. It may be changed or removed at any time.
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.
Constructors
Link copied to clipboard
constructor(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)