BluetoothGattServerCallback.OnSubrateChange Method

Definition

Callback indicating LE connection's subrate parameters have changed.

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

Parameters

device
BluetoothDevice

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.BluetoothGattServerCallback.onSubrateChange(android.bluetooth.BluetoothDevice, 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