BenQ Mobile

Package javax.bluetooth

Defines the classes and interfaces that allow communication between two devices via Bluetooth technology.

See:
          Description

Interface Summary
DiscoveryListener The DiscoveryListener interface allows an application to receive device discovery and service discovery events.
L2CAPConnection The L2CAPConnection interface represents a connection-oriented L2CAP channel.
L2CAPConnectionNotifier The L2CAPConnectionNotifier interface provides an L2CAP connection notifier.
ServiceRecord The ServiceRecord interface describes characteristics of a Bluetooth service.
 

Class Summary
DataElement The DataElement class defines the various data types that a Bluetooth service attribute value may have.
DeviceClass The DeviceClass class represents the class of device (CoD) record as defined by the Bluetooth specification.
DiscoveryAgent The DiscoveryAgent class provides methods to perform device and service discovery.
LocalDevice The LocalDevice class defines the basic functions of the Bluetooth manager.
RemoteDevice The RemoteDevice class represents a remote Bluetooth device.
UUID The UUID class defines universally unique identifiers.
 

Exception Summary
BluetoothConnectionException This BluetoothConnectionException is thrown when a Bluetooth connection (L2CAP, RFCOMM, or OBEX over RFCOMM) cannot be established successfully.
BluetoothStateException The BluetoothStateException is thrown when a request is made to the Bluetooth system that the system cannot support in its present state.
ServiceRegistrationException The ServiceRegistrationException is thrown when there is a failure to add a service record to the local Service Discovery Database (SDDB) or to modify an existing service record in the SDDB.
 

Package javax.bluetooth Description

Defines the classes and interfaces that allow communication between two devices via Bluetooth technology. This API was defined by JSR-82 as part of the Java Community Process. This API provides exposes three unique components of a Bluetooth system. First, this API provides methods to do device discovery, service discovery, and service registration. Second, Bluetooth device management methods are defined in the API. Finally, a communication API was defined to expose L2CAP and RFCOMM capabilities.

Related Documentation


BenQ Mobile

Copyright © 2006 BenQ Mobile GmbH & Co. OHG or respective copyright owner.
All Rights Reserved.
BenQ Corp. is a trademark licensee of Siemens AG.


For further information about Mobility Toolkit (MTK) visit our Developer Portal.