Language

BluetoothGattCallback.OnSubrateChange(BluetoothGatt, Int32, Int32) Method

Definition

Callback indicating LE connection's subrate parameters have changed.

[Android.Runtime.Register("onSubrateChange", "(Landroid/bluetooth/BluetoothGatt;II)V", "GetOnSubrateChange_Landroid_bluetooth_BluetoothGatt_IIHandler", ApiSince=36)]
public virtual void OnSubrateChange(Android.Bluetooth.BluetoothGatt gatt, int subrateMode, int status);
[<Android.Runtime.Register("onSubrateChange", "(Landroid/bluetooth/BluetoothGatt;II)V", "GetOnSubrateChange_Landroid_bluetooth_BluetoothGatt_IIHandler", ApiSince=36)>]
abstract member OnSubrateChange : Android.Bluetooth.BluetoothGatt * int * int -> unit
override this.OnSubrateChange : Android.Bluetooth.BluetoothGatt * int * int -> unit

Parameters

gatt
BluetoothGatt

The remote device involved

subrateMode
Int32

for this LE connection.

status
Int32

BluetoothGatt#GATT_SUCCESS if the connection subrating has been updated successfully

Attributes

Remarks

Callback indicating LE connection's subrate parameters have changed.

Java documentation for android.bluetooth.BluetoothGattCallback.onSubrateChange(android.bluetooth.BluetoothGatt, int, int).

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