BluetoothDevice.Type 属性

定义

获取远程设备的蓝牙设备类型。

public Android.Bluetooth.BluetoothDeviceType Type { [Android.Runtime.Register("getType", "()I", "")] [Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_CONNECT")] get; }
[<get: Android.Runtime.Register("getType", "()I", "")>]
[<get: Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_CONNECT")>]
member this.Type : Android.Bluetooth.BluetoothDeviceType

属性值

设备类型 #DEVICE_TYPE_CLASSIC#DEVICE_TYPE_LE#DEVICE_TYPE_DUAL#DEVICE_TYPE_UNKNOWN 如果不可用,则为

属性

注解

获取远程设备的蓝牙设备类型。

Java文档android.bluetooth.BluetoothDevice.getType()

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

适用于