RadioPowerMode Enumeration

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

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

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

Member nameDescription
OffThe radio is off and not playing.
OnThe radio is on and playing.

Caution noteCaution:

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.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2015 Microsoft