public class**QuicOptions** extends Object  
Configuration options for QUIC in Cronet.

The settings in this class are only relevant if QUIC is enabled. Use[CronetEngine.Builder.enableQuic(boolean)](https://developer.android.com/develop/connectivity/cronet/reference/org/chromium/net/CronetEngine.Builder.html#enableQuic(boolean))to enable / disable QUIC for the Cronet engine.  

### Nested Class Summary

|------------|---|---|----------------------------------------------------------------------------------------------------------------------------------|
| class      | [QuicOptions.Builder](https://developer.android.com/develop/connectivity/cronet/reference/org/chromium/net/QuicOptions.Builder.html) || Builder for[QuicOptions](https://developer.android.com/develop/connectivity/cronet/reference/org/chromium/net/QuicOptions.html). |
| @interface | [QuicOptions.Experimental](https://developer.android.com/develop/connectivity/cronet/reference/org/chromium/net/QuicOptions.Experimental.html) || An annotation for APIs which are not considered stable yet.                                                                      |
| @interface | [QuicOptions.QuichePassthroughOption](https://developer.android.com/develop/connectivity/cronet/reference/org/chromium/net/QuicOptions.QuichePassthroughOption.html) || An annotation for APIs which configure QUICHE options not curated by Cronet.                                                     |

### Public Method Summary

|--------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| static[QuicOptions.Builder](https://developer.android.com/develop/connectivity/cronet/reference/org/chromium/net/QuicOptions.Builder.html) | [builder](https://developer.android.com/develop/connectivity/cronet/reference/org/chromium/net/QuicOptions.html#builder())()                                                                         |
| Set\<String\>                                                                                                                              | [getClientConnectionOptions](https://developer.android.com/develop/connectivity/cronet/reference/org/chromium/net/QuicOptions.html#getClientConnectionOptions())()                                   |
| Boolean                                                                                                                                    | [getCloseSessionsOnIpChange](https://developer.android.com/develop/connectivity/cronet/reference/org/chromium/net/QuicOptions.html#getCloseSessionsOnIpChange())()                                   |
| Set\<String\>                                                                                                                              | [getConnectionOptions](https://developer.android.com/develop/connectivity/cronet/reference/org/chromium/net/QuicOptions.html#getConnectionOptions())()                                               |
| Long                                                                                                                                       | [getCryptoHandshakeTimeoutSeconds](https://developer.android.com/develop/connectivity/cronet/reference/org/chromium/net/QuicOptions.html#getCryptoHandshakeTimeoutSeconds())()                       |
| Boolean                                                                                                                                    | [getDelayJobsWithAvailableSpdySession](https://developer.android.com/develop/connectivity/cronet/reference/org/chromium/net/QuicOptions.html#getDelayJobsWithAvailableSpdySession())()               |
| Boolean                                                                                                                                    | [getEnableTlsZeroRtt](https://developer.android.com/develop/connectivity/cronet/reference/org/chromium/net/QuicOptions.html#getEnableTlsZeroRtt())()                                                 |
| Set\<String\>                                                                                                                              | [getEnabledQuicVersions](https://developer.android.com/develop/connectivity/cronet/reference/org/chromium/net/QuicOptions.html#getEnabledQuicVersions())()                                           |
| Set\<String\>                                                                                                                              | [getExtraQuicheFlags](https://developer.android.com/develop/connectivity/cronet/reference/org/chromium/net/QuicOptions.html#getExtraQuicheFlags())()                                                 |
| Boolean                                                                                                                                    | [getGoawaySessionsOnIpChange](https://developer.android.com/develop/connectivity/cronet/reference/org/chromium/net/QuicOptions.html#getGoawaySessionsOnIpChange())()                                 |
| String                                                                                                                                     | [getHandshakeUserAgent](https://developer.android.com/develop/connectivity/cronet/reference/org/chromium/net/QuicOptions.html#getHandshakeUserAgent())()                                             |
| Long                                                                                                                                       | [getIdleConnectionTimeoutSeconds](https://developer.android.com/develop/connectivity/cronet/reference/org/chromium/net/QuicOptions.html#getIdleConnectionTimeoutSeconds())()                         |
| Integer                                                                                                                                    | [getInMemoryServerConfigsCacheSize](https://developer.android.com/develop/connectivity/cronet/reference/org/chromium/net/QuicOptions.html#getInMemoryServerConfigsCacheSize())()                     |
| Boolean                                                                                                                                    | [getIncreaseBrokenServicePeriodExponentially](https://developer.android.com/develop/connectivity/cronet/reference/org/chromium/net/QuicOptions.html#getIncreaseBrokenServicePeriodExponentially())() |
| Long                                                                                                                                       | [getInitialBrokenServicePeriodSeconds](https://developer.android.com/develop/connectivity/cronet/reference/org/chromium/net/QuicOptions.html#getInitialBrokenServicePeriodSeconds())()               |
| Long                                                                                                                                       | [getPreCryptoHandshakeIdleTimeoutSeconds](https://developer.android.com/develop/connectivity/cronet/reference/org/chromium/net/QuicOptions.html#getPreCryptoHandshakeIdleTimeoutSeconds())()         |
| Set\<String\>                                                                                                                              | [getQuicHostAllowlist](https://developer.android.com/develop/connectivity/cronet/reference/org/chromium/net/QuicOptions.html#getQuicHostAllowlist())()                                               |
| Long                                                                                                                                       | [getRetransmittableOnWireTimeoutMillis](https://developer.android.com/develop/connectivity/cronet/reference/org/chromium/net/QuicOptions.html#getRetransmittableOnWireTimeoutMillis())()             |
| Boolean                                                                                                                                    | [getRetryWithoutAltSvcOnQuicErrors](https://developer.android.com/develop/connectivity/cronet/reference/org/chromium/net/QuicOptions.html#getRetryWithoutAltSvcOnQuicErrors())()                     |

### Inherited Method Summary

From class java.lang.Object  

|------------------|---------------------------|
| Object           | clone()                   |
| boolean          | equals(Object arg0)       |
| void             | finalize()                |
| final Class\<?\> | getClass()                |
| int              | hashCode()                |
| final void       | notify()                  |
| final void       | notifyAll()               |
| String           | toString()                |
| final void       | wait(long arg0, int arg1) |
| final void       | wait(long arg0)           |
| final void       | wait()                    |

## Public Methods

#### public static[QuicOptions.Builder](https://developer.android.com/develop/connectivity/cronet/reference/org/chromium/net/QuicOptions.Builder.html)**builder**()

<br />

#### public Set\<String\>**getClientConnectionOptions**()

<br />

#### public Boolean**getCloseSessionsOnIpChange**()

<br />

#### public Set\<String\>**getConnectionOptions**()

<br />

#### public Long**getCryptoHandshakeTimeoutSeconds**()

<br />

#### public Boolean**getDelayJobsWithAvailableSpdySession**()

<br />

#### public Boolean**getEnableTlsZeroRtt**()

<br />

#### public Set\<String\>**getEnabledQuicVersions**()

<br />

#### public Set\<String\>**getExtraQuicheFlags**()

<br />

#### public Boolean**getGoawaySessionsOnIpChange**()

<br />

#### public String**getHandshakeUserAgent**()

<br />

#### public Long**getIdleConnectionTimeoutSeconds**()

<br />

#### public Integer**getInMemoryServerConfigsCacheSize**()

<br />

#### public Boolean**getIncreaseBrokenServicePeriodExponentially**()

<br />

#### public Long**getInitialBrokenServicePeriodSeconds**()

<br />

#### public Long**getPreCryptoHandshakeIdleTimeoutSeconds**()

<br />

#### public Set\<String\>**getQuicHostAllowlist**()

<br />

#### public Long**getRetransmittableOnWireTimeoutMillis**()

<br />

#### public Boolean**getRetryWithoutAltSvcOnQuicErrors**()

<br />