Fields Summary |
---|
public static final String | TAGTag used for debugging/logging |
public static final String | RETRY_AFTER___REDIRECT_COUNTThe column that used to be used for the HTTP method of the request |
public static final String | OTA_UPDATEThe column that used to be used for the magic OTA update filename |
public static final String | NO_SYSTEM_FILESThe column that used to be used to reject system filetypes |
public static final String | ETAGThe column that is used for the downloads's ETag |
public static final String | UIDThe column that is used for the initiating app's UID |
public static final String | MEDIA_SCANNEDThe column that is used to remember whether the media scanner was invoked |
public static final String | FAILED_CONNECTIONSThe column that is used to count retries |
public static final String | ACTION_RETRYThe intent that gets sent when the service must wake up for a retry |
public static final String | ACTION_OPENthe intent that gets sent when clicking a successful download |
public static final String | ACTION_LISTthe intent that gets sent when clicking an incomplete/failed download |
public static final String | ACTION_HIDEthe intent that gets sent when deleting the notification of a completed download |
public static final String | DEFAULT_DL_FILENAMEThe default base name for downloaded files if we can't get one at the HTTP level |
public static final String | DEFAULT_DL_HTML_EXTENSIONThe default extension for html files if we can't get one at the HTTP level |
public static final String | DEFAULT_DL_TEXT_EXTENSIONThe default extension for text files if we can't get one at the HTTP level |
public static final String | DEFAULT_DL_BINARY_EXTENSIONThe default extension for binary files if we can't get one at the HTTP level |
public static final String | FILENAME_SEQUENCE_SEPARATORWhen a number has to be appended to the filename, this string is used to separate the
base filename from the sequence number |
public static final String | DEFAULT_DL_SUBDIRWhere we store downloaded files on the external storage |
public static final String | KNOWN_SPURIOUS_FILENAMEA magic filename that is allowed to exist within the system cache |
public static final String | RECOVERY_DIRECTORYA magic filename that is allowed to exist within the system cache |
public static final String | DEFAULT_USER_AGENTThe default user agent used for downloads |
public static final String | MIMETYPE_DRM_MESSAGEThe MIME type of special DRM files |
public static final String | MIMETYPE_APKThe MIME type of APKs |
public static final int | BUFFER_SIZEThe buffer size used to stream the data |
public static final int | MIN_PROGRESS_STEPThe minimum amount of progress that has to be done before the progress bar gets updated |
public static final long | MIN_PROGRESS_TIMEThe minimum amount of time that has to elapse before the progress bar gets updated, in ms |
public static final int | MAX_DOWNLOADSThe maximum number of rows in the database (FIFO) |
public static final int | MAX_RETRIESThe number of times that the download manager will retry its network
operations when no progress is happening before it gives up. |
public static final int | MIN_RETRY_AFTERThe minimum amount of time that the download manager accepts for
a Retry-After response header with a parameter in delta-seconds. |
public static final int | MAX_RETRY_AFTERThe maximum amount of time that the download manager accepts for
a Retry-After response header with a parameter in delta-seconds. |
public static final int | MAX_REDIRECTSThe maximum number of redirects. |
public static final int | RETRY_FIRST_DELAYThe time between a failure and the first retry after an IOException.
Each subsequent retry grows exponentially, doubling each time.
The time is in seconds. |
private static final boolean | LOCAL_LOGVEnable verbose logging - use with "setprop log.tag.DownloadManager VERBOSE" |
public static final boolean | LOGV |
private static final boolean | LOCAL_LOGVVEnable super-verbose logging |
public static final boolean | LOGVV |