RadioPowerMode Enumeration

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

An enumeration that contains the possible power modes of the radio.

Namespace:  Microsoft.Devices.Radio
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)

Syntax

Public Enumeration RadioPowerMode
public enum RadioPowerMode
<object property="enumerationValue" .../>

Members

Member name Description
Off The radio is off and not playing.
On The radio is on and playing.

Remarks

Warning

FM radio is supported only in apps that target Windows Phone OS 7.1. If you use the FMRadio class or other classes in the Microsoft.Devices.Radio namespace in apps that target Windows Phone 8 or later, an error message indicates that the FM radio feature is not available.

Capabilities

If you use this API in your app, you must specify the following capabilities in the app manifest. Otherwise, your app might not work correctly or it might exit unexpectedly.

ID_CAP_MEDIALIB

Windows Phone OS 7.1

For more info, see App capabilities and hardware requirements for Windows Phone 8.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

Microsoft.Devices.Radio Namespace