BluetoothDevice.Type 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取远程设备的蓝牙设备类型。
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()。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。