ConnectivityManager.RestrictBackgroundStatusWhitelisted Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
This constant will be removed in the future version. Use Android.Net.RestrictBackgroundStatus enum directly instead of this field.
Device is restricting metered network activity while application is running on background, but application is allowed to bypass it.
[Android.Runtime.Register("RESTRICT_BACKGROUND_STATUS_WHITELISTED", 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 RestrictBackgroundStatusWhitelisted = 2;
[<Android.Runtime.Register("RESTRICT_BACKGROUND_STATUS_WHITELISTED", 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 RestrictBackgroundStatusWhitelisted : Android.Net.RestrictBackgroundStatus
Field Value
Value = 2- Attributes
Remarks
Device is restricting metered network activity while application is running on background, but application is allowed to bypass it.
In this state, application should take action to mitigate metered network access. For example, a music streaming application should switch to a low-bandwidth bitrate.
Java documentation for android.net.ConnectivityManager.RESTRICT_BACKGROUND_STATUS_WHITELISTED
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.