다음을 통해 공유


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

the parameters specifying this download

Returns

an ID for the download, unique across the system. This ID is used to make future calls related to this download.

Attributes

Remarks

Java documentation for android.app.DownloadManager.enqueue(android.app.Request).

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