語言

DownloadManager.Request.SetAllowedOverRoaming(Boolean) 方法

定義

設定此下載是否能透過漫遊連線繼續進行。

[Android.Runtime.Register("setAllowedOverRoaming", "(Z)Landroid/app/DownloadManager$Request;", "GetSetAllowedOverRoaming_ZHandler")]
public virtual Android.App.DownloadManager.Request? SetAllowedOverRoaming(bool allowed);
[<Android.Runtime.Register("setAllowedOverRoaming", "(Z)Landroid/app/DownloadManager$Request;", "GetSetAllowedOverRoaming_ZHandler")>]
abstract member SetAllowedOverRoaming : bool -> Android.App.DownloadManager.Request
override this.SetAllowedOverRoaming : bool -> Android.App.DownloadManager.Request

參數

allowed
Boolean

布林值:是否允許使用漫遊連線

傳回

這個物件

屬性

備註

設定此下載是否能透過漫遊連線繼續進行。 預設情況下,允許漫遊。

Android 參考資料。android.app.DownloadManager.Request.setAllowedOverRoaming

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於