ConnectivityManager.RestrictBackgroundStatusEnabled 欄位
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
This constant will be removed in the future version. Use Android.Net.RestrictBackgroundStatus enum directly instead of this field.
裝置在應用程式背景執行時限制了計量網路活動。
[Android.Runtime.Register("RESTRICT_BACKGROUND_STATUS_ENABLED", ApiSince=24)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Net.RestrictBackgroundStatus enum directly instead of this field.", true)]
public const Android.Net.RestrictBackgroundStatus RestrictBackgroundStatusEnabled = 3;
[<Android.Runtime.Register("RESTRICT_BACKGROUND_STATUS_ENABLED", ApiSince=24)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Net.RestrictBackgroundStatus enum directly instead of this field.", true)>]
val mutable RestrictBackgroundStatusEnabled : Android.Net.RestrictBackgroundStatus
欄位值
Value = 3- 屬性
備註
在此狀態下,應用程式不應在背景執行時嘗試使用網路,因為會被拒絕。
Java 文件 android.net.ConnectivityManager.RESTRICT_BACKGROUND_STATUS_ENABLED。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。