Added in API level 5
android.bluetooth
Interfaces
BluetoothAdapter.LeScanCallback | Callback interface used to deliver LE scan results. |
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. |
Classes
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. |
BluetoothCodecConfig | Represents the codec configuration for a Bluetooth A2DP source device. |
BluetoothCodecConfig.Builder |
Builder for BluetoothCodecConfig .
|
BluetoothCodecStatus | Represents the codec status (configuration and capability) for a Bluetooth A2DP source device. |
BluetoothCodecStatus.Builder |
Builder for BluetoothCodecStatus .
|
BluetoothCodecType | Represents a supported source codec type for a Bluetooth A2DP device. |
BluetoothCsipSetCoordinator | This class provides the public APIs to control the Bluetooth CSIP set coordinator. |
BluetoothDevice | Represents a remote Bluetooth device. |
BluetoothGatt | Public API for the Bluetooth GATT Profile. |
BluetoothGattCallback |
This abstract class is used to implement BluetoothGatt callbacks.
|
BluetoothGattCharacteristic |
Represents a Bluetooth GATT Characteristic
A GATT characteristic is a basic data element used to construct a GATT service, |
BluetoothGattDescriptor |
Represents a Bluetooth GATT Descriptor
GATT Descriptors contain additional information and attributes of a GATT characteristic,
|
BluetoothGattServer | Public API for the Bluetooth GATT Profile server role. |
BluetoothGattServerCallback |
This abstract class is used to implement BluetoothGattServer callbacks.
|
BluetoothGattService |
Represents a Bluetooth GATT Service
Gatt Service contains a collection of |
BluetoothHeadset | Public API for controlling the Bluetooth Headset Service. |
BluetoothHealth |
This class was deprecated
in API level 29.
Health Device Profile (HDP) and MCAP protocol are no longer used. New apps should use
Bluetooth Low Energy based solutions such as BluetoothGatt , BluetoothAdapter.listenUsingL2capChannel() , or BluetoothDevice.createL2capChannel(int)
|
BluetoothHealthAppConfiguration |
This class was deprecated
in API level 29.
Health Device Profile (HDP) and MCAP protocol are no longer used. New apps should use
Bluetooth Low Energy based solutions such as BluetoothGatt , BluetoothAdapter.listenUsingL2capChannel() , or BluetoothDevice.createL2capChannel(int)
|
BluetoothHealthCallback |
This class was deprecated
in API level 29.
Health Device Profile (HDP) and MCAP protocol are no longer used. New apps should use
Bluetooth Low Energy based solutions such as BluetoothGatt , BluetoothAdapter.listenUsingL2capChannel() , or BluetoothDevice.createL2capChannel(int)
|
BluetoothHearingAid | This class provides the public APIs to control the Hearing Aid profile. |
BluetoothHidDevice | Provides the public APIs to control the Bluetooth HID Device profile. |
BluetoothHidDevice.Callback | The template class that applications use to call callback functions on events from the HID host. |
BluetoothHidDeviceAppQosSettings | Represents the Quality of Service (QoS) settings for a Bluetooth HID Device application. |
BluetoothHidDeviceAppSdpSettings | Represents the Service Discovery Protocol (SDP) settings for a Bluetooth HID Device application. |
BluetoothLeAudio | This class provides the public APIs to control the LeAudio profile. |
BluetoothLeAudioCodecConfig | Represents the codec configuration for a Bluetooth LE Audio source device. |
BluetoothLeAudioCodecConfig.Builder |
Builder for BluetoothLeAudioCodecConfig .
|
BluetoothLeAudioCodecStatus | Represents the codec status (configuration and capability) for a Bluetooth Le Audio source device. |
BluetoothManager |
High level manager used to obtain an instance of an BluetoothAdapter and to conduct
overall Bluetooth Management.
|
BluetoothServerSocket | A listening Bluetooth socket. |
BluetoothSocket | A connected or connecting Bluetooth socket. |
BluetoothStatusCodes | A class with constants representing possible return values for Bluetooth APIs. |
Exceptions
BluetoothSocketException | Thrown when an error occurs during a Bluetooth Socket related exception. |
Interfaces
Classes
- BluetoothA2dp
- BluetoothAdapter
- BluetoothAssignedNumbers
- BluetoothClass
- BluetoothClass.Device
- BluetoothClass.Device.Major
- BluetoothClass.Service
- BluetoothCodecConfig
- BluetoothCodecConfig.Builder
- BluetoothCodecStatus
- BluetoothCodecStatus.Builder
- BluetoothCodecType
- BluetoothCsipSetCoordinator
- BluetoothDevice
- BluetoothGatt
- BluetoothGattCallback
- BluetoothGattCharacteristic
- BluetoothGattDescriptor
- BluetoothGattServer
- BluetoothGattServerCallback
- BluetoothGattService
- BluetoothHeadset
- BluetoothHealth
- BluetoothHealthAppConfiguration
- BluetoothHealthCallback
- BluetoothHearingAid
- BluetoothHidDevice
- BluetoothHidDevice.Callback
- BluetoothHidDeviceAppQosSettings
- BluetoothHidDeviceAppSdpSettings
- BluetoothLeAudio
- BluetoothLeAudioCodecConfig
- BluetoothLeAudioCodecConfig.Builder
- BluetoothLeAudioCodecStatus
- BluetoothManager
- BluetoothServerSocket
- BluetoothSocket
- BluetoothStatusCodes
Exceptions