public class SdkLibData
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static SdkLibData |
dontDownload() |
static SdkLibData |
download(com.android.repository.api.Downloader downloader,
com.android.repository.api.SettingsController settings) |
com.android.repository.api.Downloader |
getDownloader()
Returns the downloader used to download the missing SDK components.
|
com.android.repository.api.SettingsController |
getSettings()
Returns the settings used to download the missing SDK components.
|
boolean |
needsCacheReset() |
void |
setNeedsCacheReset(boolean needsCacheReset)
Sets the flag for resetting the local and remote repository cache.
|
boolean |
useSdkDownload() |
public static SdkLibData dontDownload()
public static SdkLibData download(@NonNull com.android.repository.api.Downloader downloader, @NonNull com.android.repository.api.SettingsController settings)
public boolean useSdkDownload()
@NonNull public com.android.repository.api.Downloader getDownloader()
@NonNull public com.android.repository.api.SettingsController getSettings()
public void setNeedsCacheReset(boolean needsCacheReset)
needsCacheReset flag should
be set to false.needsCacheReset - public boolean needsCacheReset()