BluetoothDevice.FromBluetoothAddressAsync(UInt64) Metode

Definisi

Mengembalikan objek BluetoothDevice untuk BluetoothAddress yang diberikan.

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)

Parameter

address
UInt64

unsigned long long

uint64_t

Alamat perangkat Bluetooth.

Mengembalikan

Setelah operasi asinkron selesai, mengembalikan objek BluetoothDevice dengan BluetoothAddress atau null yang diberikan jika alamat tidak diselesaikan ke perangkat yang valid.

Atribut

Persyaratan Windows

Kemampuan aplikasi
bluetooth

Berlaku untuk