BluetoothAdapter.ListenUsingInsecureL2capChannel 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 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.