Sdílet prostřednictvím


TelephonyManager.DataEnabledReasonPolicy Field

Definition

Caution

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

To indicate that data control due to policy.

[Android.Runtime.Register("DATA_ENABLED_REASON_POLICY", ApiSince=31)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Telephony.DataEnabledReason enum directly instead of this field.", true)]
public const Android.Telephony.DataEnabledReason DataEnabledReasonPolicy = 1;
[<Android.Runtime.Register("DATA_ENABLED_REASON_POLICY", ApiSince=31)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Telephony.DataEnabledReason enum directly instead of this field.", true)>]
val mutable DataEnabledReasonPolicy : Android.Telephony.DataEnabledReason

Field Value

Value = 1
Attributes

Remarks

To indicate that data control due to policy. Usually used when data limit is passed. Policy data on/off won't affect user settings but will bypass the settings and turns off data internally if set to false.

Java documentation for android.telephony.TelephonyManager.DATA_ENABLED_REASON_POLICY.

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