Share via


BluetoothDevice.FromBluetoothAddressAsync(UInt64) Method

Definition

Returns a BluetoothDevice object for the given BluetoothAddress.

public:
 static IAsyncOperation<BluetoothDevice ^> ^ FromBluetoothAddressAsync(unsigned long long address);
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<BluetoothDevice> FromBluetoothAddressAsync(uint64_t const& address);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<BluetoothDevice> FromBluetoothAddressAsync(ulong address);
function fromBluetoothAddressAsync(address)
Public Shared Function FromBluetoothAddressAsync (address As ULong) As IAsyncOperation(Of BluetoothDevice)

Parameters

address
UInt64

unsigned long long

uint64_t

The address of the Bluetooth device.

Returns

After the asynchronous operation completes, returns the BluetoothDevice object with the given BluetoothAddress or null if the address does not resolve to a valid device.

Attributes

Windows requirements

App capabilities
bluetooth

Applies to