Udostępnij za pośrednictwem


BluetoothAdapter.ListenUsingInsecureL2capChannel Method

Definition

Create an insecure L2CAP Connection-oriented Channel (CoC) BluetoothServerSocket and assign a dynamic PSM value.

[Android.Runtime.Register("listenUsingInsecureL2capChannel", "()Landroid/bluetooth/BluetoothServerSocket;", "", ApiSince=29)]
[Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_CONNECT")]
public Android.Bluetooth.BluetoothServerSocket ListenUsingInsecureL2capChannel ();
[<Android.Runtime.Register("listenUsingInsecureL2capChannel", "()Landroid/bluetooth/BluetoothServerSocket;", "", ApiSince=29)>]
[<Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_CONNECT")>]
member this.ListenUsingInsecureL2capChannel : unit -> Android.Bluetooth.BluetoothServerSocket

Returns

an L2CAP CoC BluetoothServerSocket

Attributes

Remarks

Java documentation for android.bluetooth.BluetoothAdapter.listenUsingInsecureL2capChannel().

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