See Also: DownloadManager+Request
public class DownloadManager.Request : Object
This class contains all the information necessary to request a new download. The URI is the only required parameter. Note that the default download destination is a shared volume where the system might delete your file if it needs to reclaim space for system use. If this is a problem, use a location on external storage (see DownloadManager+Request.SetDestinationUri(Uri).
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 9
The members of Android.App.DownloadManager.Request are listed below.
See Also: Object
|NetworkMobile||DownloadNetwork (1). Bit flag for DownloadManager+Request.SetAllowedNetworkTypes(DownloadNetwork) corresponding to ConnectivityType.Mobile.|
|NetworkWifi||DownloadNetwork (2). Bit flag for DownloadManager+Request.SetAllowedNetworkTypes(DownloadNetwork) corresponding to ConnectivityType.Wifi.|
|VisibilityHidden||DownloadVisibility (2). This download doesn't show in the UI or in the notifications.|
|VisibilityVisible||DownloadVisibility (0). This download is visible but only shows in the notifications while it's in progress.|
|VisibilityVisibleNotifyCompleted||DownloadVisibility (1). This download is visible and shows in the notifications while in progress and after completion.|
|VisibilityVisibleNotifyOnlyCompletion||DownloadVisibility (3). This download shows in the notifications after completion ONLY.|
Add an HTTP header to be included with the download request.
If the file to be downloaded is to be scanned by MediaScanner, this method should be called before DownloadManager.Enqueue(DownloadManager+Request) is called.
Restrict the types of networks over which this download may proceed.
Set whether this download may proceed over a metered network connection.
Set whether this download may proceed over a roaming connection.
Set a description of this download, to be displayed in notifications (if enabled)
|SetDestinationInExternalFilesDir(Context, String, String)|
Set the local destination for the downloaded file to a path within the application's external files directory (as returned by Context.GetExternalFilesDir(String).
Set the local destination for the downloaded file to a path within the public external storage directory (as returned by Environment.GetExternalStoragePublicDirectory(String)).
Set the local destination for the downloaded file.
Set the MIME content type of this download.
Control whether a system notification is posted by the download manager while this download is running or when it is completed.
Control whether a system notification is posted by the download manager while this download is running.
Set the title of this download, to be displayed in notifications (if enabled).
Set whether this download should be displayed in the system's Downloads UI.