BluetoothDevice.BluetoothClass 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取远程设备的蓝牙类。
public Android.Bluetooth.BluetoothClass? BluetoothClass { [Android.Runtime.Register("getBluetoothClass", "()Landroid/bluetooth/BluetoothClass;", "")] [Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_CONNECT")] get; }
[<get: Android.Runtime.Register("getBluetoothClass", "()Landroid/bluetooth/BluetoothClass;", "")>]
[<get: Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_CONNECT")>]
member this.BluetoothClass : Android.Bluetooth.BluetoothClass
属性值
蓝牙类对象或错误时为 null
- 属性
注解
适用于 . 的 android.bluetooth.BluetoothDevice.getBluetoothClass()
Java 文档
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。