Lingua

DownloadManager.Enqueue(DownloadManager+Request) Method

Definition

Enqueue a new download.

[Android.Runtime.Register("enqueue", "(Landroid/app/DownloadManager$Request;)J", "GetEnqueue_Landroid_app_DownloadManager_Request_Handler")]
public virtual long Enqueue(Android.App.DownloadManager.Request? request);
[<Android.Runtime.Register("enqueue", "(Landroid/app/DownloadManager$Request;)J", "GetEnqueue_Landroid_app_DownloadManager_Request_Handler")>]
abstract member Enqueue : Android.App.DownloadManager.Request -> int64
override this.Enqueue : Android.App.DownloadManager.Request -> int64

Parameters

request
DownloadManager.Request

DownloadManager.Request: the parameters specifying this download

Returns

The unique download ID assigned to the enqueued request.

Attributes

Remarks

Enqueue a new download. The download will start automatically once the download manager is ready to execute it and connectivity is available.

Android reference for android.app.DownloadManager.enqueue.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to