BluetoothDevice.FromBluetoothAddressAsync(UInt64) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
會回傳給定的 BluetoothDevice 物件。
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
藍牙裝置的地址。
傳回
非同步操作完成後,會回傳 BluetoothDevice 物件,並指定 BluetoothAddress ;若該位址未解析為有效裝置,則為 null。
- 屬性
Windows 需求
| 規格需求 | Description |
|---|---|
| 應用程式功能 |
bluetooth
|