BluetoothSocketSettings.L2capPsm Property
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.
Returns the L2CAP PSM value used for a BluetoothSocket#TYPE_LE socket.
public int L2capPsm { [Android.Runtime.Register("getL2capPsm", "()I", "", ApiSince=36)] get; }
[<get: Android.Runtime.Register("getL2capPsm", "()I", "", ApiSince=36)>]
member this.L2capPsm : int
Property Value
The configured PSM, or -1 if no PSM was specified. A PSM set by SetL2capPsm(Int32) is between 128 and 255 inclusive.
- Attributes
Remarks
Returns the L2CAP PSM value used for a BluetoothSocket#TYPE_LE socket.
Java documentation for android.bluetooth.BluetoothSocketSettings.getL2capPsm().
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.