BluetoothGatt.RequestMtu(Int32) 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.
Request an MTU size used for a given connection.
[Android.Runtime.Register("requestMtu", "(I)Z", "")]
[Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_CONNECT")]
public bool RequestMtu (int mtu);
[<Android.Runtime.Register("requestMtu", "(I)Z", "")>]
[<Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_CONNECT")>]
member this.RequestMtu : int -> bool
Parameters
- mtu
- Int32
Returns
true, if the new MTU value has been requested successfully
- Attributes
Remarks
Java documentation for android.bluetooth.BluetoothGatt.requestMtu(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.