Sprache

BluetoothGattCallback.OnConnectionUpdated Methode

Definition

Rückruf, der angibt, dass die Verbindungsparameter aktualisiert wurden.

[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

Parameter

gatt
BluetoothGatt

GATT-Client beteiligt

interval
Int32

Verbindungsintervall, das für diese Verbindung verwendet wird, 1,25 ms Einheit. Gültiger Bereich liegt zwischen 6 (7,5 ms) und 3200 (4000 ms).

latency
Int32

Arbeitslatenz für die Verbindung in der Anzahl von Verbindungsereignissen. Gültiger Bereich liegt zwischen 0 und 499.

supervisionTimeout
Int32

Aufsichtstimeout für diese Verbindung in 10 ms Einheit. Gültiger Bereich liegt zwischen 10 (0,1) und 3200 (32s)

status
GattStatus

BluetoothGatt#GATT_SUCCESS wenn die Verbindung erfolgreich aktualisiert wurde

Attribute

Gilt für: