Delen via


BluetoothAdapter.GetDefaultAsync Method

Definition

Gets the default BluetoothAdapter.

public:
 static IAsyncOperation<BluetoothAdapter ^> ^ GetDefaultAsync();
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<BluetoothAdapter> GetDefaultAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<BluetoothAdapter> GetDefaultAsync();
function getDefaultAsync()
Public Shared Function GetDefaultAsync () As IAsyncOperation(Of BluetoothAdapter)

Returns

An asynchronous operation that completes with a BluetoothAdapter.

Attributes

Windows requirements

App capabilities
bluetooth

Applies to