BluetoothAdapter.ListenUsingL2capChannel 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.
Create a secure L2CAP Connection-oriented Channel (CoC) BluetoothServerSocket
and
assign a dynamic protocol/service multiplexer (PSM) value.
[Android.Runtime.Register("listenUsingL2capChannel", "()Landroid/bluetooth/BluetoothServerSocket;", "", ApiSince=29)]
[Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_CONNECT")]
public Android.Bluetooth.BluetoothServerSocket ListenUsingL2capChannel ();
[<Android.Runtime.Register("listenUsingL2capChannel", "()Landroid/bluetooth/BluetoothServerSocket;", "", ApiSince=29)>]
[<Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_CONNECT")>]
member this.ListenUsingL2capChannel : unit -> Android.Bluetooth.BluetoothServerSocket
Returns
an L2CAP CoC BluetoothServerSocket
- Attributes
Remarks
Java documentation for android.bluetooth.BluetoothAdapter.listenUsingL2capChannel()
.
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.