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