共用方式為


TelephonyManager.CarrierRestrictionStatusRestricted Field

Definition

Caution

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

The device is restricted to a carrier.

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

Field Value

Value = 2
Attributes

Remarks

The device is restricted to a carrier.

Java documentation for android.telephony.TelephonyManager.CARRIER_RESTRICTION_STATUS_RESTRICTED.

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