BluetoothGattCallback.OnConnectionUpdated Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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