语言

DownloadManager.Request.NetworkWifi 字段

定义

注意

This constant will be removed in the future version. Use Android.App.DownloadNetwork enum directly instead of this field.

对应于#setAllowedNetworkTypesConnectivityManager#TYPE_WIFI的位标志。

[Android.Runtime.Register("NETWORK_WIFI")]
[System.Obsolete("This constant will be removed in the future version. Use Android.App.DownloadNetwork enum directly instead of this field.", true)]
public const Android.App.DownloadNetwork NetworkWifi = 2;
[<Android.Runtime.Register("NETWORK_WIFI")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.App.DownloadNetwork enum directly instead of this field.", true)>]
val mutable NetworkWifi : Android.App.DownloadNetwork

字段值

Value = 2
特性

注解

对应于ConnectivityManager.TYPE_WIFI的 setAllowedNetworkTypes(int)的位标志。

Android 参考。android.app.DownloadManager.Request.NETWORK_WIFI

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

适用于