BluetoothGattCallback.OnReadRemoteRssi 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 le RSSI pour une connexion d’appareil distant.
[Android.Runtime.Register("onReadRemoteRssi", "(Landroid/bluetooth/BluetoothGatt;II)V", "GetOnReadRemoteRssi_Landroid_bluetooth_BluetoothGatt_IIHandler")]
public virtual void OnReadRemoteRssi(Android.Bluetooth.BluetoothGatt? gatt, int rssi, Android.Bluetooth.GattStatus status);
[<Android.Runtime.Register("onReadRemoteRssi", "(Landroid/bluetooth/BluetoothGatt;II)V", "GetOnReadRemoteRssi_Landroid_bluetooth_BluetoothGatt_IIHandler")>]
abstract member OnReadRemoteRssi : Android.Bluetooth.BluetoothGatt * int * Android.Bluetooth.GattStatus -> unit
override this.OnReadRemoteRssi : Android.Bluetooth.BluetoothGatt * int * Android.Bluetooth.GattStatus -> unit
Paramètres
- gatt
- BluetoothGatt
Client GATT appelé BluetoothGatt#readRemoteRssi
- rssi
- Int32
Valeur RSSI pour l’appareil distant
- status
- GattStatus
BluetoothGatt#GATT_SUCCESS si le RSSI a été lu avec succès
- Attributs
Remarques
Rappel signalant le RSSI pour une connexion d’appareil distant.
Ce rappel est déclenché en réponse à la BluetoothGatt#readRemoteRssi fonction.
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.