BluetoothClass.DeviceClass 属性

定义

返回此 BluetoothClass组件的(主要和次要)设备类组件。

public Android.Bluetooth.DeviceClass DeviceClass { [Android.Runtime.Register("getDeviceClass", "()I", "")] get; }
[<get: Android.Runtime.Register("getDeviceClass", "()I", "")>]
member this.DeviceClass : Android.Bluetooth.DeviceClass

属性值

设备类组件

属性

注解

返回此 BluetoothClass组件的(主要和次要)设备类组件。

可以从此函数返回的值与公共常量 BluetoothClass.Device 进行比较,以确定此蓝牙类中编码的设备类。

Java文档android.bluetooth.BluetoothClass.getDeviceClass()

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

适用于