语言

BluetoothSocketSettings.L2capPsm 属性

定义

返回用于 BluetoothSocket#TYPE_LE 套接字的 L2CAP PSM 值。

public int L2capPsm { [Android.Runtime.Register("getL2capPsm", "()I", "", ApiSince=36)] get; }
[<get: Android.Runtime.Register("getL2capPsm", "()I", "", ApiSince=36)>]
member this.L2capPsm : int

属性值

配置的 PSM,或者 -1 未指定 PSM。 设置的 SetL2capPsm(Int32) PSM 介于 128 和 255 之间(含 128 到 255)。

特性

注解

返回用于 BluetoothSocket#TYPE_LE 套接字的 L2CAP PSM 值。

Java文档android.bluetooth.BluetoothSocketSettings.getL2capPsm()。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于