MobileBroadbandSlotState Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Name | Value | Description |
---|---|---|
Unmanaged | 0 | Specifies that the SIM slot is not managed. For example, this is the case for devices with a single SIM slot. |
Unknown | 1 | Specifies that the SIM slot state is unknown. |
OffEmpty | 2 | Specifies that the SIM slot is powered off, and empty. |
Off | 3 | Specifies that the SIM slot is powered off, and a SIM is present |
Empty | 4 | Specifies that the SIM slot is powered on, but empty. |
NotReady | 5 | Specifies that the SIM in the slot is not ready. |
Active | 6 | Specifies that the SIM in the slot is active. |
Error | 7 | Specifies that the SIM in the slot is in an error state. |
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. |