Android.Bluetooth.BluetoothClass Class
Represents a Bluetooth class, which describes general characteristics and capabilities of a device.

See Also: BluetoothClass Members

Syntax

[Android.Runtime.Register("android/bluetooth/BluetoothClass", DoNotGenerateAcw=true)]
public sealed class BluetoothClass : Java.Lang.Object, Android.OS.IParcelable, IDisposable

Remarks

Represents a Bluetooth class, which describes general characteristics and capabilities of a device. For example, a Bluetooth class will specify the general device type such as a phone, a computer, or headset, and whether it's capable of services such as audio or telephony.

Every Bluetooth class is composed of zero or more service classes, and exactly one device class. The device class is further broken down into major and minor device class components.

Android.Bluetooth.BluetoothClass is useful as a hint to roughly describe a device (for example to show an icon in the UI), but does not reliably describe which Bluetooth profiles or services are actually supported by a device. Accurate service discovery is done through SDP requests, which are automatically performed when creating an RFCOMM socket with BluetoothDevice.CreateRfcommSocketToServiceRecord(Java.Util.UUID) and BluetoothAdapter.ListenUsingRfcommWithServiceRecord(string, Java.Util.UUID)

Use BluetoothDevice.BluetoothClass to retrieve the class for a remote device.

[Android Documentation]

Requirements

Namespace: Android.Bluetooth
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 5