Android.Bluetooth.BluetoothGattCallback.OnMtuChanged Method
Callback indicating the MTU for a given device connection has changed.

Syntax

[Android.Runtime.Register("onMtuChanged", "(Landroid/bluetooth/BluetoothGatt;II)V", "GetOnMtuChanged_Landroid_bluetooth_BluetoothGatt_IIHandler")]
public virtual void OnMtuChanged (BluetoothGatt gatt, int mtu, [Android.Runtime.GeneratedEnum] GattStatus status)

Parameters

gatt
GATT client invoked BluetoothGatt.RequestMtu(int)
mtu
The new MTU size
status
BluetoothGatt.GattSuccess if the MTU has been changed successfully

Remarks

Callback indicating the MTU for a given device connection has changed. This callback is triggered in response to the BluetoothGatt.RequestMtu(int) function, or in response to a connection event.

[Android Documentation]

Requirements

Namespace: Android.Bluetooth
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 18