BluetoothAdapter.StartLeScan 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.
Surcharges
| Nom | Description |
|---|---|
| StartLeScan(BluetoothAdapter+ILeScanCallback) |
Obsolète.
Démarre une analyse des appareils Bluetooth LE. |
| StartLeScan(UUID[], BluetoothAdapter+ILeScanCallback) |
Obsolète.
Démarre une analyse des appareils Bluetooth LE. |
StartLeScan(BluetoothAdapter+ILeScanCallback)
Attention
deprecated
Démarre une analyse des appareils Bluetooth LE.
[Android.Runtime.Register("startLeScan", "(Landroid/bluetooth/BluetoothAdapter$LeScanCallback;)Z", "")]
[System.Obsolete("deprecated")]
public bool StartLeScan(Android.Bluetooth.BluetoothAdapter.ILeScanCallback? callback);
[<Android.Runtime.Register("startLeScan", "(Landroid/bluetooth/BluetoothAdapter$LeScanCallback;)Z", "")>]
[<System.Obsolete("deprecated")>]
member this.StartLeScan : Android.Bluetooth.BluetoothAdapter.ILeScanCallback -> bool
Paramètres
- callback
- BluetoothAdapter.ILeScanCallback
les résultats de l’analyse LE de rappel sont remis
Retours
true, si l’analyse a été démarrée avec succès
- Attributs
Remarques
Les parties de cette page sont des modifications basées sur le travail créé et partagé par Android Open Source et utilisées en fonction des termes décrits dans la Creative Commons 2.5 Attribution License.
S’applique à
StartLeScan(UUID[], BluetoothAdapter+ILeScanCallback)
Attention
deprecated
Démarre une analyse des appareils Bluetooth LE.
[Android.Runtime.Register("startLeScan", "([Ljava/util/UUID;Landroid/bluetooth/BluetoothAdapter$LeScanCallback;)Z", "")]
[System.Obsolete("deprecated")]
public bool StartLeScan(Java.Util.UUID[]? serviceUuids, Android.Bluetooth.BluetoothAdapter.ILeScanCallback? callback);
[<Android.Runtime.Register("startLeScan", "([Ljava/util/UUID;Landroid/bluetooth/BluetoothAdapter$LeScanCallback;)Z", "")>]
[<System.Obsolete("deprecated")>]
member this.StartLeScan : Java.Util.UUID[] * Android.Bluetooth.BluetoothAdapter.ILeScanCallback -> bool
Paramètres
- serviceUuids
- UUID[]
Tableau de services à rechercher
- callback
- BluetoothAdapter.ILeScanCallback
les résultats de l’analyse LE de rappel sont remis
Retours
true, si l’analyse a été démarrée avec succès
- Attributs
Remarques
Les parties de cette page sont des modifications basées sur le travail créé et partagé par Android Open Source et utilisées en fonction des termes décrits dans la Creative Commons 2.5 Attribution License.