BluetoothSocket.ConnectionType 属性

定义

获取基础连接的类型。

public Android.Bluetooth.BluetoothConnectionType ConnectionType { [Android.Runtime.Register("getConnectionType", "()I", "", ApiSince=23)] get; }
[<get: Android.Runtime.Register("getConnectionType", "()I", "", ApiSince=23)>]
member this.ConnectionType : Android.Bluetooth.BluetoothConnectionType

属性值

其中一个#TYPE_RFCOMM#TYPE_SCO#TYPE_L2CAP

属性

注解

获取基础连接的类型。

Java文档android.bluetooth.BluetoothSocket.getConnectionType()

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

适用于