javax.bluetooth
Class DeviceClass

The DeviceClass class represents the class of device (CoD)
record as defined by the Bluetooth specification. This record is defined in
the Bluetooth Assigned Numbers document
and contains information on the type of the device and the type of services
available on the device.

The Bluetooth Assigned Numbers document can be found at
Bluetooth.org. It
defines the service class, major device class, and minor device class. The
table below provides some examples of possible return values and their
meaning:

Method

Return Value

Class of Device

getServiceClasses()

0x22000

Networking and Limited Discoverable Major Service Classes

getServiceClasses()

0x100000

Object Transfer Major Service Class

getMajorDeviceClass()

0x00

Miscellaneous Major Device Class

getMajorDeviceClass()

0x200

Phone Major Device Class

getMinorDeviceClass()

0x0C

With a Computer Major Device Class,
Laptop Minor Device Class

getMinorDeviceClass()

0x04

With a Phone Major Device Class,
Cellular Minor Device Class

Since:

BlackBerry API 4.2.1

Constructor Summary

DeviceClass(int record)
Creates a DeviceClass from the class of device record
provided.

Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.Java is a trademark of Oracle America Inc. in the US and other countries.Legal