FMRadio.Instance Property

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

Returns a singleton that represents the FMRadio class.

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

Syntax

Public Shared ReadOnly Property Instance As FMRadio
public static FMRadio Instance { get; }

Property Value

Type: Microsoft.Devices.Radio..::.FMRadio
Returns FMRadio.

Remarks

Warning

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.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

FMRadio Class

Microsoft.Devices.Radio Namespace