public class FakeSettingsController extends java.lang.Object implements SettingsController
SettingsController where values can be set directly.| Constructor and Description |
|---|
FakeSettingsController(boolean forceHttp) |
| Modifier and Type | Method and Description |
|---|---|
Channel |
getChannel()
Gets the current channel.
|
boolean |
getDisableSdkPatches() |
boolean |
getForceHttp() |
void |
setChannel(Channel channel) |
void |
setDisableSdkPatches(boolean disable) |
void |
setForceHttp(boolean force) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetProxypublic boolean getForceHttp()
getForceHttp in interface SettingsControllertrue, all connections should be made using HTTP rather than HTTPS.public void setForceHttp(boolean force)
setForceHttp in interface SettingsControllerforce - If true, all connections should be made using HTTP rather than HTTPS.public boolean getDisableSdkPatches()
getDisableSdkPatches in interface SettingsControllertrue, SDK updates should be performed using full installer (optimizes for
local installation time, but not for download time). Recommended for lower-end hardware.public void setDisableSdkPatches(boolean disable)
setDisableSdkPatches in interface SettingsControllerdisable - 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.public void setChannel(Channel channel)
public Channel getChannel()
SettingsControllergetChannel in interface SettingsController