TelephonyManager.DataEnabledReasonCarrier Field

Definition

Caution

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

To indicate enable or disable carrier data by the system based on carrier signalling or carrier privileged apps.

[Android.Runtime.Register("DATA_ENABLED_REASON_CARRIER", 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 DataEnabledReasonCarrier = 2;
[<Android.Runtime.Register("DATA_ENABLED_REASON_CARRIER", 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 DataEnabledReasonCarrier : Android.Telephony.DataEnabledReason

Field Value

Value = 2
Attributes

Remarks

To indicate enable or disable carrier data by the system based on carrier signalling or carrier privileged apps. Carrier 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_CARRIER.

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