OnlineRouteAlternativesSwitch

fun OnlineRouteAlternativesSwitch(    connectTimeoutMilliseconds: Int,     readTimeoutMilliseconds: Int,     minimumRetryInterval: Int,     avoidManeuverSeconds: Int = DEFAULT_AVOID_MANEUVER_SECONDS_FOR_ROUTE_ALTERNATIVES)

Parameters

connectTimeoutMilliseconds
  • is forwarded to OkHttp as is

readTimeoutMilliseconds
  • is forwarded to OkHttp as is

minimumRetryInterval
  • defines an interval that limits how often routes will be requested. Route requests won't happen more often than this interval.