Langue

BluetoothGattCallback.OnReadRemoteRssi Méthode

Définition

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.

Java documentation pour android.bluetooth.BluetoothGattCallback.onReadRemoteRssi(android.bluetooth.BluetoothGatt, int, int).

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 à