BluetoothDevice.FromBluetoothAddressAsync(UInt64) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Renvoie un objet BluetoothDevice pour l’adresse BluetoothAddress donnée.
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)
Paramètres
- address
-
UInt64
unsigned long long
uint64_t
Adresse de l’appareil Bluetooth.
Retours
Une fois l’opération asynchrone terminée, retourne l’objet BluetoothDevice avec bluetoothAddress ou null donné si l’adresse ne se résout pas sur un appareil valide.
- Attributs
Configuration requise pour Windows
| Configuration requise | Description |
|---|---|
| Fonctionnalités de l’application |
bluetooth
|