BluetoothDevice.FromBluetoothAddressAsync(UInt64) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回给定 BluetoothAddress 的 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
|