Package 

Class NetworkConfiguration


  • @Serializable() 
    public final class NetworkConfiguration
    
                        

    Server-driven network configuration — currently a single field (the base URI every Network call routes through). Defaults to the build-time DATA_COLLECTION_API so the initial config fetch (and any traffic that runs before the first fetch succeeds) still has a destination.

    Mirrors iOS NetworkConfiguration. Trailing slashes are stripped so callers can keep concatenating "/v2/..." routes; empty/missing values fall back to the build-time default.

    • Constructor Detail

      • NetworkConfiguration

        NetworkConfiguration(String uri, Boolean http3Enabled)
    • Method Detail

      • getHttp3Enabled

         final Boolean getHttp3Enabled()

        When true, route the data path over Cronet with HTTP/3 (QUIC) enabled. Automatically falls back to the platform HttpURLConnection transport when Cronet/Play Services is unavailable (non-GMS devices). Requires the data-plane host to serve QUIC over UDP/443. Default false so older config responses keep the current HTTP/1.1+2 behavior. Parity with iOS network.http3Enabled.