Freigeben über


ConnectivityManager.ActionRestrictBackgroundChanged Field

Definition

A change in the background metered network activity restriction has occurred.

[Android.Runtime.Register("ACTION_RESTRICT_BACKGROUND_CHANGED", ApiSince=24)]
public const string ActionRestrictBackgroundChanged;
[<Android.Runtime.Register("ACTION_RESTRICT_BACKGROUND_CHANGED", ApiSince=24)>]
val mutable ActionRestrictBackgroundChanged : string

Field Value

Attributes

Remarks

A change in the background metered network activity restriction has occurred.

Applications should call #getRestrictBackgroundStatus() to check if the restriction applies to them.

This is only sent to registered receivers, not manifest receivers.

Java documentation for android.net.ConnectivityManager.ACTION_RESTRICT_BACKGROUND_CHANGED.

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.

Applies to