BluetoothAdapter.ILeScanCallback.OnLeScan 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.
Rappel signalant un appareil LE trouvé lors d’une analyse de l’appareil lancée par la BluetoothAdapter#startLeScan
fonction.
[Android.Runtime.Register("onLeScan", "(Landroid/bluetooth/BluetoothDevice;I[B)V", "GetOnLeScan_Landroid_bluetooth_BluetoothDevice_IarrayBHandler:Android.Bluetooth.BluetoothAdapter/ILeScanCallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void OnLeScan (Android.Bluetooth.BluetoothDevice? device, int rssi, byte[]? scanRecord);
[<Android.Runtime.Register("onLeScan", "(Landroid/bluetooth/BluetoothDevice;I[B)V", "GetOnLeScan_Landroid_bluetooth_BluetoothDevice_IarrayBHandler:Android.Bluetooth.BluetoothAdapter/ILeScanCallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OnLeScan : Android.Bluetooth.BluetoothDevice * int * byte[] -> unit
Paramètres
- device
- BluetoothDevice
Identifie l’appareil distant
- rssi
- Int32
Valeur RSSI pour l’appareil distant, comme indiqué par le matériel Bluetooth. 0 si aucune valeur RSSI n’est disponible.
- scanRecord
- Byte[]
Contenu de l’enregistrement de publicité proposé par l’appareil distant.
- Attributs
Remarques
Les parties de cette page sont des modifications basées sur le travail créé et partagé par le projet Android Open Source et utilisés en fonction des termes décrits dans la licence d’attribution Creative Commons 2.5.