语言

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

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于