DownloadManager.Enqueue(DownloadManager+Request) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
排隊進行新的下載。
[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
參數
- request
- DownloadManager.Request
DownloadManager.Request:指定此下載的參數
傳回
分配給佇列請求的唯一下載 ID。
- 屬性
備註
排隊進行新的下載。 下載將自動啟動,一旦下載管理器準備好執行且連線可用。
Android 參考資料。android.app.DownloadManager.enqueue
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。