Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Microsoft.Devices.Radio Namespace

This namespace provides access to the FM radio features of Windows Phone OS 7.1.

Caution noteCaution:

FM radio is supported only in apps that target Windows Phone OS 7.1. If you use the FMRadio class in apps that target Windows Phone OS 8.0 or later, a RadioDisabledException indicates that the FM radio feature is not available. On Windows Phone 8 devices with a build of 8.0.10322 or greater, the run-time exception may not occur if you use the FMRadio API. However, the FMRadio API is not supported for apps that target Windows Phone OS 8.0.

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.

  ClassDescription
Public classFMRadioThis class acts as a singleton controller for the device radio.
Public classRadioDisabledExceptionThis exception is thrown when the radio is not enabled due to policy on the device.

  EnumerationDescription
Public enumerationRadioPowerModeAn enumeration that contains the possible power modes of the radio.
Public enumerationRadioRegionAn enumeration that describes the set of radio frequency bands available for FMRadio tuning.

Show:
© 2015 Microsoft