Android 2.3 Gingerbread

Package android.bluetooth

Provides classes that manage Bluetooth functionality, such as scanning for devices, connecting with devices, and managing data transfer between devices.

See:
          Description

Interface Summary
BluetoothDevicePicker A helper to show a system "Device Picker" activity to the user.
BluetoothHeadset.ServiceListener An interface for notifying BluetoothHeadset IPC clients when they have been connected to the BluetoothHeadset service.
BluetoothPbap.ServiceListener An interface for notifying Bluetooth PCE IPC clients when they have been connected to the BluetoothPbap service.
 

Class Summary
AtCommandHandler Handler Interface for AtParser.
AtCommandResult The result of execution of an single AT command.
AtParser An AT (Hayes command) Parser based on (a subset of) the ITU-T V.250 standard.
BluetoothA2dp Public API for controlling the Bluetooth A2DP Profile Service.
BluetoothAdapter Represents the local device Bluetooth adapter.
BluetoothAssignedNumbers Bluetooth Assigned Numbers.
BluetoothAudioGateway Listens for incoming RFCOMM connection for the headset / handsfree service.
BluetoothClass Represents a Bluetooth class, which describes general characteristics and capabilities of a device.
BluetoothClass.Device Defines all device class constants.
BluetoothClass.Device.Major Defines all major device class constants.
BluetoothClass.Service Defines all service class constants.
BluetoothDevice Represents a remote Bluetooth device.
BluetoothDeviceProfileState This class is the Profile connection state machine associated with a remote device.
BluetoothHeadset The Android Bluetooth API is not finalized, and *will* change.
BluetoothInputStream BluetoothInputStream.
BluetoothOutputStream BluetoothOutputStream.
BluetoothPbap The Android Bluetooth API is not finalized, and *will* change.
BluetoothProfileState This state machine is used to serialize the connections to a particular profile.
BluetoothServerSocket A listening Bluetooth socket.
BluetoothSocket A connected or connecting Bluetooth socket.
BluetoothUuid Static helper methods and constants to decode the ParcelUuid of remote devices.
HeadsetBase The Android Bluetooth API is not finalized, and *will* change.
ScoSocket The Android Bluetooth API is not finalized, and *will* change.
 

Package android.bluetooth Description

Provides classes that manage Bluetooth functionality, such as scanning for devices, connecting with devices, and managing data transfer between devices.

For a complete guide to using the Bluetooth APIs, see the Bluetooth developer guide.

The Bluetooth APIs let applications:

To perform Bluetooth communication using these APIs, an application must declare the Manifest.permission.BLUETOOTH permission. Some additional functionality, such as requesting device discovery, also requires the Manifest.permission.BLUETOOTH_ADMIN permission.

Note: Not all Android devices are guaranteed to have Bluetooth functionality.


Android 2.3 Gingerbread