Package | com.distriqt.extension.expansionfiles |
Class | public class DownloadState |
Inheritance | DownloadState ![]() |
Constant | Defined By | ||
---|---|---|---|
STATE_COMPLETED : int = 5 [static] | DownloadState | ||
STATE_CONNECTING : int = 3 [static] | DownloadState | ||
STATE_DOWNLOADING : int = 4 [static] | DownloadState | ||
STATE_FAILED : int = 19 [static] | DownloadState | ||
STATE_FAILED_CANCELED : int = 18 [static] | DownloadState | ||
STATE_FAILED_FETCHING_URL : int = 16 [static] | DownloadState | ||
STATE_FAILED_SDCARD_FULL : int = 17 [static] | DownloadState | ||
STATE_FAILED_UNLICENSED : int = 15 [static] | DownloadState | ||
STATE_FETCHING_URL : int = 2 [static] | DownloadState | ||
STATE_IDLE : int = 1 [static] | DownloadState | ||
STATE_PAUSED_BY_REQUEST : int = 7 [static] | DownloadState | ||
STATE_PAUSED_NEED_CELLULAR_PERMISSION : int = 9 [static] | DownloadState | ||
STATE_PAUSED_NEED_WIFI : int = 11 [static] | DownloadState | ||
STATE_PAUSED_NETWORK_SETUP_FAILURE : int = 13 [static]
Scary case. | DownloadState | ||
STATE_PAUSED_NETWORK_UNAVAILABLE : int = 6 [static] | DownloadState | ||
STATE_PAUSED_ROAMING : int = 12 [static] | DownloadState | ||
STATE_PAUSED_SDCARD_UNAVAILABLE : int = 14 [static] | DownloadState | ||
STATE_PAUSED_WIFI_DISABLED : int = 10 [static]
Both STATE_PAUSED_WIFI_DISABLED and STATE_PAUSED_NEED_WIFI imply that
Wi-Fi is unavailable and cellular permission will NOT restart the
service. | DownloadState | ||
STATE_PAUSED_WIFI_DISABLED_NEED_CELLULAR_PERMISSION : int = 8 [static]
Both STATE_PAUSED_WIFI_DISABLED_NEED_CELLULAR_PERMISSION and
STATE_PAUSED_NEED_CELLULAR_PERMISSION imply that Wi-Fi is unavailable and
cellular permission will restart the service. | DownloadState |
STATE_COMPLETED | Constant |
public static const STATE_COMPLETED:int = 5
STATE_CONNECTING | Constant |
public static const STATE_CONNECTING:int = 3
STATE_DOWNLOADING | Constant |
public static const STATE_DOWNLOADING:int = 4
STATE_FAILED | Constant |
public static const STATE_FAILED:int = 19
STATE_FAILED_CANCELED | Constant |
public static const STATE_FAILED_CANCELED:int = 18
STATE_FAILED_FETCHING_URL | Constant |
public static const STATE_FAILED_FETCHING_URL:int = 16
STATE_FAILED_SDCARD_FULL | Constant |
public static const STATE_FAILED_SDCARD_FULL:int = 17
STATE_FAILED_UNLICENSED | Constant |
public static const STATE_FAILED_UNLICENSED:int = 15
STATE_FETCHING_URL | Constant |
public static const STATE_FETCHING_URL:int = 2
STATE_IDLE | Constant |
public static const STATE_IDLE:int = 1
STATE_PAUSED_BY_REQUEST | Constant |
public static const STATE_PAUSED_BY_REQUEST:int = 7
STATE_PAUSED_NEED_CELLULAR_PERMISSION | Constant |
public static const STATE_PAUSED_NEED_CELLULAR_PERMISSION:int = 9
STATE_PAUSED_NEED_WIFI | Constant |
public static const STATE_PAUSED_NEED_WIFI:int = 11
STATE_PAUSED_NETWORK_SETUP_FAILURE | Constant |
public static const STATE_PAUSED_NETWORK_SETUP_FAILURE:int = 13
Scary case. We were on a network that redirected us to another website that delivered us the wrong file.
STATE_PAUSED_NETWORK_UNAVAILABLE | Constant |
public static const STATE_PAUSED_NETWORK_UNAVAILABLE:int = 6
STATE_PAUSED_ROAMING | Constant |
public static const STATE_PAUSED_ROAMING:int = 12
STATE_PAUSED_SDCARD_UNAVAILABLE | Constant |
public static const STATE_PAUSED_SDCARD_UNAVAILABLE:int = 14
STATE_PAUSED_WIFI_DISABLED | Constant |
public static const STATE_PAUSED_WIFI_DISABLED:int = 10
Both STATE_PAUSED_WIFI_DISABLED and STATE_PAUSED_NEED_WIFI imply that Wi-Fi is unavailable and cellular permission will NOT restart the service. Wi-Fi disabled means that the Wi-Fi manager is returning that Wi-Fi is not enabled, while in the other case Wi-Fi is enabled but not available.
The service does not return these values. We recommend that app developers with very large payloads do not allow these payloads to be downloaded over cellular connections.
STATE_PAUSED_WIFI_DISABLED_NEED_CELLULAR_PERMISSION | Constant |
public static const STATE_PAUSED_WIFI_DISABLED_NEED_CELLULAR_PERMISSION:int = 8
Both STATE_PAUSED_WIFI_DISABLED_NEED_CELLULAR_PERMISSION and STATE_PAUSED_NEED_CELLULAR_PERMISSION imply that Wi-Fi is unavailable and cellular permission will restart the service. Wi-Fi disabled means that the Wi-Fi manager is returning that Wi-Fi is not enabled, while in the other case Wi-Fi is enabled but not available.