Поделиться через


BluetoothDevice.FromBluetoothAddressAsync(UInt64) Метод

Определение

Возвращает объект BluetoothDevice для заданного объекта 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)

Параметры

address
UInt64

unsigned long long

uint64_t

Адрес устройства Bluetooth.

Возвращаемое значение

После завершения асинхронной операции возвращает объект BluetoothDevice с заданным значением BluetoothAddress или null, если адрес не разрешается в допустимое устройство.

Атрибуты

Требования к Windows

Возможности приложения
bluetooth

Применяется к