다음을 통해 공유


BluetoothClass.MajorDeviceClass Property

Definition

Return the major device class component of this BluetoothClass.

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

Property Value

major device class component

Attributes

Remarks

Return the major device class component of this BluetoothClass.

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

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

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