Język

TelephonyManager.SimState Property

Definition

Returns a constant indicating the state of the default SIM card.

public virtual Android.Telephony.SimState SimState { [Android.Runtime.Register("getSimState", "()I", "GetGetSimStateHandler")] get; }
[<get: Android.Runtime.Register("getSimState", "()I", "GetGetSimStateHandler")>]
member this.SimState : Android.Telephony.SimState

Property Value

Value is one of the following: SIM_STATE_UNKNOWN SIM_STATE_ABSENT SIM_STATE_PIN_REQUIRED SIM_STATE_PUK_REQUIRED SIM_STATE_NETWORK_LOCKED SIM_STATE_READY SIM_STATE_NOT_READY SIM_STATE_PERM_DISABLED SIM_STATE_CARD_IO_ERROR SIM_STATE_CARD_RESTRICTED

Attributes

Remarks

Returns a constant indicating the state of the default SIM card.

Java documentation for android.telephony.TelephonyManager.getSimState().

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