com.android.repository.api
Interface SettingsController
- All Known Implementing Classes:
- FakeSettingsController
public interface SettingsController
Settings used by the repository framework.
TODO: implement more settings.
getForceHttp
boolean getForceHttp()
- Returns:
- If
true, all connections should be made using HTTP rather than HTTPS.
setForceHttp
void setForceHttp(boolean force)
- Parameters:
force - If true, all connections should be made using HTTP rather than HTTPS.
getChannel
@Nullable
Channel getChannel()
- Gets the current channel. Only packages of channels at least as stable as specified will be
downloaded.