TelephonyManager.DataEnabledReasonOverride Field

Definition

Caution

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

To indicate data was enabled or disabled due to MobileDataPolicy overrides.

[Android.Runtime.Register("DATA_ENABLED_REASON_OVERRIDE", ApiSince=33)]
[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 DataEnabledReasonOverride = 4;
[<Android.Runtime.Register("DATA_ENABLED_REASON_OVERRIDE", ApiSince=33)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Telephony.DataEnabledReason enum directly instead of this field.", true)>]
val mutable DataEnabledReasonOverride : Android.Telephony.DataEnabledReason

Field Value

Value = 4
Attributes

Remarks

To indicate data was enabled or disabled due to MobileDataPolicy overrides. Note that this is not a valid reason for #setDataEnabledForReason(int, boolean) and is only used to indicate that data enabled was changed due to an override.

Java documentation for android.telephony.TelephonyManager.DATA_ENABLED_REASON_OVERRIDE.

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