MobileBroadbandSlotState Enum

Definition

Defines constants that specify possible SIM slot states. This API is for use by OEMs and partners who are familiar with cellular concepts, and therefore can interpret the enum.

Note

This functionality is available only to mobile operator apps and UWP apps given privileged access by mobile network operators.

If you want to use this API and publish your app to the Microsoft Store, then you'll need special approval. For more information, see the Restricted capabilities section in the App capability declarations topic.

public enum class MobileBroadbandSlotState
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 786432)]
enum class MobileBroadbandSlotState
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 786432)]
public enum MobileBroadbandSlotState
var value = Windows.Networking.NetworkOperators.MobileBroadbandSlotState.unmanaged
Public Enum MobileBroadbandSlotState
Inheritance
MobileBroadbandSlotState
Attributes

Windows requirements

Device family
Windows 10, version 2104 (introduced in 10.0.20348.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v12.0)
App capabilities
cellularDeviceControl cellularDeviceIdentity

Fields

Active 6

Specifies that the SIM in the slot is active.

ActiveEsim 8

Specifies that the SIM in the slot is an eSIM with an active profile, and is ready to accept commands.

ActiveEsimNoProfile 9

Specifies that the SIM in the slot is an eSIM with no active profiles, and is ready to accept commands.

Empty 4

Specifies that the SIM slot is powered on, but empty.

Error 7

Specifies that the SIM in the slot is in an error state.

NotReady 5

Specifies that the SIM in the slot is not ready.

Off 3

Specifies that the SIM slot is powered off, and a SIM is present

OffEmpty 2

Specifies that the SIM slot is powered off, and empty.

Unknown 1

Specifies that the SIM slot state is unknown.

Unmanaged 0

Specifies that the SIM slot is not managed. For example, this is the case for devices with a single SIM slot.

Applies to