SmsDeviceStatus 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.
Contains values that indicate the readiness of an SMS device to engage in cellular network traffic operations.
Note
This functionality is available only to mobile operator apps and UWP apps given privileged access by mobile network operators, mobile broadband adapter IHV, or OEM. For more information, see Mobile Broadband.
public enum class SmsDeviceStatus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class SmsDeviceStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum SmsDeviceStatus
var value = Windows.Devices.Sms.SmsDeviceStatus.off
Public Enum SmsDeviceStatus
- Inheritance
-
SmsDeviceStatus
- Attributes
Windows requirements
Device family |
Windows 10 (introduced in 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v1.0)
|
App capabilities |
cellularMessaging
sms
|
Fields
Name | Value | Description |
---|---|---|
Off | 0 | The device is powered off. |
Ready | 1 | The device is powered on and ready to be used. |
SimNotInserted | 2 | The SIM card is not inserted into the device. |
BadSim | 3 | The SIM is invalid; PIN unblock key retrials have exceeded the limit. |
DeviceFailure | 4 | General device failure. |
SubscriptionNotActivated | 5 | The service subscription is not activated. |
DeviceLocked | 6 | The device is locked by a PIN or password that prevents the device from initializing and registering on the network. |
DeviceBlocked | 7 | The device is blocked by a PIN or password that prevents the device from initializing and registering on the nework. |