-
@Serializable() public final class NetworkConfigurationServer-driven network configuration — currently a single field (the base URI every Network call routes through). Defaults to the build-time
DATA_COLLECTION_APIso 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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classNetworkConfiguration.Companion
-
Field Summary
Fields Modifier and Type Field Description private final StringresolvedUriprivate final Stringuriprivate final Booleanhttp3Enabled
-
Constructor Summary
Constructors Constructor Description NetworkConfiguration(String uri, Boolean http3Enabled)
-
Method Summary
Modifier and Type Method Description final StringgetResolvedUri()final StringgetUri()final BooleangetHttp3Enabled()When true, route the data path over Cronet with HTTP/3 (QUIC) enabled. -
-
Method Detail
-
getResolvedUri
final String getResolvedUri()
-
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.
-
-
-
-