Delen via


MobileBroadbandRadioState Enum

Definition

Describes radio states for a Mobile Broadband device.

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 MobileBroadbandRadioState
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class MobileBroadbandRadioState
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum MobileBroadbandRadioState
var value = Windows.Networking.NetworkOperators.MobileBroadbandRadioState.off
Public Enum MobileBroadbandRadioState
Inheritance
MobileBroadbandRadioState
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
cellularDeviceControl cellularDeviceIdentity

Fields

Name Value Description
Off 0

The radio is off. This can be because it has been turned off using a physical switch on the device, or using a software mechanism such as Airplane Mode on the control panel.

On 1

The radio is on.

Applies to