Radio.State Property
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.
Gets the current operational state of the radio.
public:
property RadioState State { RadioState get(); };
RadioState State();
public RadioState State { get; }
var radioState = radio.state;
Public ReadOnly Property State As RadioState
Property Value
A RadioState value representing the radio's effective state.
Remarks
Behavior
The property reports the current effective (observable) state. Intermediate transitions may be coalesced—only the final settled state is typically visible.
Independence
A radio's state is independent of other radio technologies. For example, turning Wi‑Fi off does not imply Bluetooth or mobile broadband states change.
Refresh strategy
Do not poll repeatedly. Subscribe to StateChanged and read State inside the event handler
to obtain the updated value after a change request or external transition.