PhoneSimState
PhoneSimState
PhoneSimState
PhoneSimState
Enum
Definition
The current state of the SIM card for a cellular phone line.
public : enum class PhoneSimStatepublic enum PhoneSimStatePublic Enum PhoneSimState// You can use this enum in JavaScript.
- Attributes
Windows 10 requirements
| Device family |
Windows Mobile Extension SDK (introduced v10.0.10240.0)
|
| API contract |
Windows.ApplicationModel.Calls.CallsPhoneContract (introduced v1)
|
Fields
| Disabled Disabled Disabled Disabled | The SIM card is disabled. |
| Invalid Invalid Invalid Invalid | The SIM card is not valid. |
| NotInserted NotInserted NotInserted NotInserted | There is no SIM card inserted into the phone. |
| PinLocked PinLocked PinLocked PinLocked | The SIM card is locked and requires a PIN code to unlock. |
| PinNotRequired PinNotRequired PinNotRequired PinNotRequired | The SIM card does not require a PIN code. |
| PinUnlocked PinUnlocked PinUnlocked PinUnlocked | The SIM card is unlocked, but requires a PIN code to unlock again if it becomes locked. |
| PukLocked PukLocked PukLocked PukLocked | The SIM card is locked due to too many incorrect PIN entries, and requires a Personal Unlocking Key (PUK) to unlock. |
| Unknown Unknown Unknown Unknown | The SIM card state is unknown. |