Langue

BluetoothGattCallback.OnConnectionUpdated Méthode

Définition

Rappel indiquant que les paramètres de connexion ont été mis à jour.

[Android.Runtime.Register("onConnectionUpdated", "(Landroid/bluetooth/BluetoothGatt;IIII)V", "GetOnConnectionUpdated_Landroid_bluetooth_BluetoothGatt_IIIIHandler", ApiSince=37)]
public virtual void OnConnectionUpdated(Android.Bluetooth.BluetoothGatt gatt, int interval, int latency, int supervisionTimeout, Android.Bluetooth.GattStatus status);
[<Android.Runtime.Register("onConnectionUpdated", "(Landroid/bluetooth/BluetoothGatt;IIII)V", "GetOnConnectionUpdated_Landroid_bluetooth_BluetoothGatt_IIIIHandler", ApiSince=37)>]
abstract member OnConnectionUpdated : Android.Bluetooth.BluetoothGatt * int * int * int * Android.Bluetooth.GattStatus -> unit
override this.OnConnectionUpdated : Android.Bluetooth.BluetoothGatt * int * int * int * Android.Bluetooth.GattStatus -> unit

Paramètres

gatt
BluetoothGatt

Client GATT impliqué

interval
Int32

Intervalle de connexion utilisé sur cette connexion, unité 1,25 ms. La plage valide est comprise entre 6 (7,5 ms) et 3200 (4 000 ms).

latency
Int32

Latence de travail pour la connexion en nombre d’événements de connexion. La plage valide est comprise entre 0 et 499

supervisionTimeout
Int32

Délai d’attente de supervision pour cette connexion, en unité de 10 ms. La plage valide est comprise entre 10 (0,1s) et 3200 (32s)

status
GattStatus

BluetoothGatt#GATT_SUCCESS si la connexion a été mise à jour avec succès

Attributs

S’applique à