ConnectivityManager.RestrictBackgroundStatusEnabled フィールド

定義

注意事項

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ドキュメント。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象