public interface SettingsController
| Modifier and Type | Method and Description |
|---|---|
Channel |
getChannel()
Gets the current channel.
|
boolean |
getDisableSdkPatches() |
boolean |
getForceHttp() |
default java.net.Proxy |
getProxy()
Gets the proxy to use for http connections.
|
void |
setDisableSdkPatches(boolean disable) |
void |
setForceHttp(boolean force) |
boolean getForceHttp()
true, all connections should be made using HTTP rather than HTTPS.void setForceHttp(boolean force)
force - If true, all connections should be made using HTTP rather than HTTPS.boolean getDisableSdkPatches()
true, SDK updates should be performed using full installer (optimizes for
local installation time, but not for download time). Recommended for lower-end hardware.void setDisableSdkPatches(boolean disable)
disable - If true, SDK updates should be performed using full installer
(optimizes for local installation time, but not for download time).
Recommended for lower-end hardware.@Nullable Channel getChannel()
@NonNull default java.net.Proxy getProxy()
Proxy.NO_PROXY.