The members of Android.App.DownloadManager are listed below.
See Also: Inherited members from Java.Lang.Object
A constructor used when creating managed representations of JNI objects; called by the runtime. |
const | ActionDownloadComplete | string. Broadcast intent action sent by the download manager when a download completes. |
const | ActionNotificationClicked | string. Broadcast intent action sent by the download manager when the user clicks on a running download, either from a system notification or from the downloads UI. |
const | ActionViewDownloads | string. Intent action to launch an activity to display all downloads. |
const | ColumnBytesDownloadedSoFar | string. Number of bytes download so far. |
const | ColumnDescription | string. The client-supplied description of this download. |
const | ColumnId | string. An identifier for a particular download, unique across the system. |
const | ColumnLastModifiedTimestamp | string. Timestamp when the download was last modified, in Java.Lang.JavaSystem.CurrentTimeMillis (wall clock time in UTC). |
const | ColumnLocalFilename | string. The pathname of the file where the download is stored. |
const | ColumnLocalUri | string. Uri where downloaded file will be stored. |
const | ColumnMediaproviderUri | string. The URI to the corresponding entry in MediaProvider for this downloaded entry. |
const | ColumnMediaType | string. Internet Media Type of the downloaded file. |
const | ColumnReason | string. Provides more detail on the status of the download. |
const | ColumnStatus | string. Current status of the download, as one of the STATUS_* constants. |
const | ColumnTitle | string. The client-supplied title for this download. |
const | ColumnTotalSizeBytes | string. Total size of the download in bytes. |
const | ColumnUri | string. URI to be downloaded. |
const | ErrorCannotResume | DownloadError (1008). Value of DownloadManager.ColumnReason when some possibly transient error occurred but we can't resume the download. |
const | ErrorDeviceNotFound | DownloadError (1007). Value of DownloadManager.ColumnReason when no external storage device was found. |
const | ErrorFileAlreadyExists | DownloadError (1009). Value of DownloadManager.ColumnReason when the requested destination file already exists (the download manager will not overwrite an existing file). |
const | ErrorFileError | DownloadError (1001). Value of DownloadManager.ColumnReason when a storage issue arises which doesn't fit under any other error code. |
const | ErrorHttpDataError | DownloadError (1004). Value of DownloadManager.ColumnReason when an error receiving or processing data occurred at the HTTP level. |
const | ErrorInsufficientSpace | DownloadError (1006). Value of DownloadManager.ColumnReason when there was insufficient storage space. |
const | ErrorTooManyRedirects | DownloadError (1005). Value of DownloadManager.ColumnReason when there were too many redirects. |
const | ErrorUnhandledHttpCode | DownloadError (1002). Value of DownloadManager.ColumnReason when an HTTP code was received that download manager can't handle. |
const | ErrorUnknown | DownloadError (1000). Value of COLUMN_ERROR_CODE when the download has completed with an error that doesn't fit under any other error code. |
const | ExtraDownloadId | string. Intent extra included with DownloadManager.ActionDownloadComplete intents, indicating the ID (as a long) of the download that just completed. |
const | ExtraNotificationClickDownloadIds | string. When clicks on multiple notifications are received, the following provides an array of download ids corresponding to the download notification that was clicked. |
const | IntentExtrasSortBySize | string. Intent extra included with DownloadManager.ActionViewDownloads to start DownloadApp in sort-by-size mode. |
const | PausedQueuedForWifi | DownloadPausedReason (3). Value of DownloadManager.ColumnReason when the download exceeds a size limit for downloads over the mobile network and the download manager is waiting for a Wi-Fi connection to proceed. |
const | PausedUnknown | DownloadPausedReason (4). Value of DownloadManager.ColumnReason when the download is paused for some other reason. |
const | PausedWaitingForNetwork | DownloadPausedReason (2). Value of DownloadManager.ColumnReason when the download is waiting for network connectivity to proceed. |
const | PausedWaitingToRetry | DownloadPausedReason (1). Value of DownloadManager.ColumnReason when the download is paused because some network error occurred and the download manager is waiting before retrying the request. |
const | StatusFailed | DownloadStatus (16). Value of DownloadManager.ColumnStatus when the download has failed (and will not be retried). |
const | StatusPaused | DownloadStatus (4). Value of DownloadManager.ColumnStatus when the download is waiting to retry or resume. |
const | StatusPending | DownloadStatus (1). Value of DownloadManager.ColumnStatus when the download is waiting to start. |
const | StatusRunning | DownloadStatus (2). Value of DownloadManager.ColumnStatus when the download is currently running. |
const | StatusSuccessful | DownloadStatus (8). Value of DownloadManager.ColumnStatus when the download has successfully completed. |
[read-only] override | ThresholdClass | IntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
[read-only] override | ThresholdType | Type. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
AddCompletedDownload(string, string, bool, string, string, long, bool)Adds a file to the downloads database system, so it could appear in Downloads App (and thus become eligible for management by the Downloads App). | ||
Enqueue(DownloadManager.Request)Enqueue a new download. | ||
static | FromContext(Android.Content.Context)Documentation for this section has not yet been entered. | |
static | GetMaxBytesOverMobile(Android.Content.Context)Returns maximum size, in bytes, of downloads that may go over a mobile connection; or null if there's no limit | |
GetMimeTypeForDownloadedFile(long)Returns the media type of the given downloaded file id, if the file was downloaded successfully. | ||
static | GetRecommendedMaxBytesOverMobile(Android.Content.Context)Returns recommended maximum size, in bytes, of downloads that may go over a mobile connection; or null if there's no recommended limit. | |
GetUriForDownloadedFile(long)Returns the Android.Net.Uri of the given downloaded file id, if the file is downloaded successfully. | ||
InvokeQuery(DownloadManager.Query)Query the download manager about downloads that have been requested. | ||
OpenDownloadedFile(long)Open a downloaded file for reading. | ||
Remove(params long[])Documentation for this section has not yet been entered. |