Freigeben über


ConnectivityManager.RestrictBackgroundStatus Property

Definition

Determines if the calling application is subject to metered network restrictions while running on background.

public virtual Android.Net.RestrictBackgroundStatus RestrictBackgroundStatus { [Android.Runtime.Register("getRestrictBackgroundStatus", "()I", "GetGetRestrictBackgroundStatusHandler", ApiSince=24)] get; }
[<get: Android.Runtime.Register("getRestrictBackgroundStatus", "()I", "GetGetRestrictBackgroundStatusHandler", ApiSince=24)>]
member this.RestrictBackgroundStatus : Android.Net.RestrictBackgroundStatus

Property Value

#RESTRICT_BACKGROUND_STATUS_DISABLED, #RESTRICT_BACKGROUND_STATUS_ENABLED, or #RESTRICT_BACKGROUND_STATUS_WHITELISTED

Attributes

Remarks

Determines if the calling application is subject to metered network restrictions while running on background.

Java documentation for android.net.ConnectivityManager.getRestrictBackgroundStatus().

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