BluetoothDevice.BluetoothClass 属性

定义

获取远程设备的蓝牙类。

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 属性许可证中所述的术语使用。

适用于