Dela via


RadioState Enum

Definition

Enumeration that describes possible radio states.

public enum class RadioState
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class RadioState
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum RadioState
var value = Windows.Devices.Radios.RadioState.unknown
Public Enum RadioState
Inheritance
RadioState
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)

Fields

Name Value Description
Unknown 0

The radio state is unknown, or the radio is in a bad or uncontrollable state.

On 1

The radio is powered on.

Off 2

The radio is powered off.

Disabled 3

The radio is powered off and disabled by the device firmware or a hardware switch on the device.

Applies to