ESimState 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 the state of an eSIM, including its presence and working status.
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 to request special approval to use the custom capability Microsoft.eSIMManagement_8wekyb3d8bbwe. For more info, see Custom capabilities.
public enum class ESimState
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 393216)]
enum class ESimState
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 393216)]
public enum ESimState
var value = Windows.Networking.NetworkOperators.ESimState.unknown
Public Enum ESimState
- Inheritance
-
ESimState
- Attributes
Windows requirements
Device family |
Windows 10, version 1803 (introduced in 10.0.17134.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v6.0)
|
App capabilities |
Microsoft.eSIMManagement_8wekyb3d8bbwe
|
Fields
Name | Value | Description |
---|---|---|
Unknown | 0 | Indicates that the state of the eSIM is not known. |
Idle | 1 | Indicates that the eSIM is idle. |
Removed | 2 | Indicates that the eSIM has been removed. |
Busy | 3 | Indicates that the eSIM is busy. |