語言

DownloadManager.Request.NetworkWifi 欄位

定義

警告

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

位元旗標對 #setAllowedNetworkTypes 應於 ConnectivityManager#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
屬性

備註

setAllowedNetworkTypes(int) 的位元標誌對應於 ConnectivityManager.TYPE_WIFI。

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

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

適用於