Share via


BluetoothAdapter.GetRadioAsync Method

Definition

Gets the radio represented by this Bluetooth adapter.

public:
 virtual IAsyncOperation<Radio ^> ^ GetRadioAsync() = GetRadioAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<Radio> GetRadioAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<Radio> GetRadioAsync();
function getRadioAsync()
Public Function GetRadioAsync () As IAsyncOperation(Of Radio)

Returns

Returns an asynchronous operation that completes with the Radio.

Attributes

Windows requirements

App capabilities
bluetooth

Remarks

When called from a UWP app, there is no architecture requirement. This method will work on the native architecture, as well as x86 architecture on x64 or ARM64 architectures.

When this method is called from a desktop application (Win32), it will retrieve radio instances only when the application is natively compiled for the target architecture (in other words, when the application matches the computer architecture; so an x86 application running on an x64 architecture computer won't see any radio instances).

Applies to