Android.Bluetooth.BluetoothGatt.RequestMtu Method
Request an MTU size used for a given connection.

Syntax

[Android.Runtime.Register("requestMtu", "(I)Z", "")]
public bool RequestMtu (int mtu)

Parameters

mtu
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Request an MTU size used for a given connection.

When performing a write request operation (write without response), the data sent is truncated to the MTU size. This function may be used to request a larger MTU size to be able to send more data at once.

A BluetoothGattCallback.OnMtuChanged(BluetoothGatt, System.Int32, System.Int32) callback will indicate whether this operation was successful.

Requires NoType:android/Manifest$permission;Href=../../../reference/android/Manifest.permission.html#BLUETOOTH permission.

[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