次の方法で共有


BluetoothClass.DeviceClass Property

Definition

Return the (major and minor) device class component of this BluetoothClass.

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

Property Value

device class component

Attributes

Remarks

Return the (major and minor) device class component of this BluetoothClass.

Values returned from this function can be compared with the public constants in BluetoothClass.Device to determine which device class is encoded in this Bluetooth class.

Java documentation for android.bluetooth.BluetoothClass.getDeviceClass().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to