共用方式為


ConnectivityManager.RestrictBackgroundStatusDisabled Field

Definition

Caution

This constant will be removed in the future version. Use Android.Net.RestrictBackgroundStatus enum directly instead of this field.

Device is not restricting metered network activity while application is running on background.

[Android.Runtime.Register("RESTRICT_BACKGROUND_STATUS_DISABLED", 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 RestrictBackgroundStatusDisabled = 1;
[<Android.Runtime.Register("RESTRICT_BACKGROUND_STATUS_DISABLED", 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 RestrictBackgroundStatusDisabled : Android.Net.RestrictBackgroundStatus

Field Value

Value = 1
Attributes

Remarks

Device is not restricting metered network activity while application is running on background.

Java documentation for android.net.ConnectivityManager.RESTRICT_BACKGROUND_STATUS_DISABLED.

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