Compartir a través de


TelephonyManager.DataEnabledReasonUnknown 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 was enabled or disabled due to an unknown reason.

[Android.Runtime.Register("DATA_ENABLED_REASON_UNKNOWN", 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 DataEnabledReasonUnknown = -1;
[<Android.Runtime.Register("DATA_ENABLED_REASON_UNKNOWN", 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 DataEnabledReasonUnknown : Android.Telephony.DataEnabledReason

Field Value

Value = -1
Attributes

Remarks

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

Java documentation for android.telephony.TelephonyManager.DATA_ENABLED_REASON_UNKNOWN.

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