com.android.repository.api
Interface SettingsController

All Known Implementing Classes:
FakeSettingsController

public interface SettingsController

Settings used by the repository framework. TODO: implement more settings.


Method Summary
 Channel getChannel()
          Gets the current channel.
 boolean getForceHttp()
           
 void setForceHttp(boolean force)
           
 

Method Detail

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.