PhoneSimState PhoneSimState PhoneSimState PhoneSimState PhoneSimState Enum

Definition

The current state of the SIM card for a cellular phone line.

public : enum class PhoneSimState
enum class winrt::Windows::ApplicationModel::Calls::PhoneSimState : int32_t
public enum PhoneSimState
Public Enum PhoneSimState
var value = Windows.ApplicationModel.Calls.PhoneSimState.disabled;
Attributes

Windows 10 requirements

Device family
Windows Mobile Extension SDK (introduced v10.0.10240.0)
API contract
Windows.ApplicationModel.Calls.CallsPhoneContract (introduced v1)
Capabilities
phoneCallHistorySystem phoneCallHistory

Fields

Disabled Disabled Disabled Disabled Disabled 7

The SIM card is disabled.

Invalid Invalid Invalid Invalid Invalid 6

The SIM card is not valid.

NotInserted NotInserted NotInserted NotInserted NotInserted 5

There is no SIM card inserted into the phone.

PinLocked PinLocked PinLocked PinLocked PinLocked 3

The SIM card is locked and requires a PIN code to unlock.

PinNotRequired PinNotRequired PinNotRequired PinNotRequired PinNotRequired 1

The SIM card does not require a PIN code.

PinUnlocked PinUnlocked PinUnlocked PinUnlocked PinUnlocked 2

The SIM card is unlocked, but requires a PIN code to unlock again if it becomes locked.

PukLocked PukLocked PukLocked PukLocked PukLocked 4

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 Unknown 0

The SIM card state is unknown.