Taal

BluetoothGattCallback.OnConnectionUpdated Method

Definition

Callback indicating the connection parameters were updated.

[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

Parameters

gatt
BluetoothGatt

GATT client involved

interval
Int32

Connection interval used on this connection, 1.25ms unit. Valid range is from 6 (7.5ms) to 3200 (4000ms).

latency
Int32

Worker latency for the connection in number of connection events. Valid range is from 0 to 499

supervisionTimeout
Int32

Supervision timeout for this connection, in 10ms unit. Valid range is from 10 (0.1s) to 3200 (32s)

status
GattStatus

BluetoothGatt#GATT_SUCCESS if the connection has been updated successfully

Attributes

Remarks

Callback indicating the connection parameters were updated.

Android reference for android.bluetooth.BluetoothGattCallback.onConnectionUpdated.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to