Provides classes that manage Bluetooth functionality, such as scanning for devices, connecting with devices, and managing data transfer between devices.
For more information, see the Bluetooth developer guide.
The Bluetooth APIs let applications:
To perform Bluetooth communication using these APIs, an application must declare the
BLUETOOTH permission. Some additional functionality, such as requesting device discovery, also requires the
Note: Not all Android-powered devices provide Bluetooth functionality.
|BluetoothProfile||Public APIs for the Bluetooth Profiles.|
|BluetoothProfile.ServiceListener||An interface for notifying BluetoothProfile IPC clients when they have been connected or disconnected to the service.|
|BluetoothA2dp||This class provides the public APIs to control the Bluetooth A2DP profile.|
|BluetoothAdapter||Represents the local device Bluetooth adapter.|
|BluetoothAssignedNumbers||Bluetooth Assigned Numbers.|
|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.|
|BluetoothHeadset||Public API for controlling the Bluetooth Headset Service.|
|BluetoothServerSocket||A listening Bluetooth socket.|
|BluetoothSocket||A connected or connecting Bluetooth socket.|