Język

BluetoothSocketSettings.Builder.SetL2capPsm(Int32) Method

Definition

Sets the L2CAP PSM (Protocol/Service Multiplexer) for the Bluetooth socket.

[Android.Runtime.Register("setL2capPsm", "(I)Landroid/bluetooth/BluetoothSocketSettings$Builder;", "", ApiSince=36)]
public Android.Bluetooth.BluetoothSocketSettings.Builder SetL2capPsm(int l2capPsm);
[<Android.Runtime.Register("setL2capPsm", "(I)Landroid/bluetooth/BluetoothSocketSettings$Builder;", "", ApiSince=36)>]
member this.SetL2capPsm : int -> Android.Bluetooth.BluetoothSocketSettings.Builder

Parameters

l2capPsm
Int32

The L2CAP PSM value. Value is between 128 and 255 inclusive

Returns

This builder. This value cannot be null.

Attributes

Remarks

Sets the L2CAP PSM (Protocol/Service Multiplexer) for the Bluetooth socket.

Android reference for android.bluetooth.BluetoothSocketSettings.Builder.setL2capPsm.

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