Stay organized with collections
Save and categorize content based on your preferences.
com.google.android.things.bluetooth
Interfaces
BluetoothConnectionCallback |
This callback is invoked when the device receives requests for Bluetooth profile connections and
contains relevant information to handle the connection process.
|
BluetoothPairingCallback |
This callback is invoked during the Bluetooth pairing process and contains all the relevant
pairing information required for pairing.
|
Classes
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# com.google.android.things.bluetooth\n===================================\n\nInterfaces\n----------\n\n|-----------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [BluetoothConnectionCallback](/reference/com/google/android/things/bluetooth/BluetoothConnectionCallback) | This callback is invoked when the device receives requests for Bluetooth profile connections and contains relevant information to handle the connection process. |\n| [BluetoothPairingCallback](/reference/com/google/android/things/bluetooth/BluetoothPairingCallback) | This callback is invoked during the Bluetooth pairing process and contains all the relevant pairing information required for pairing. |\n\nClasses\n-------\n\n|-------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [BluetoothClassFactory](/reference/com/google/android/things/bluetooth/BluetoothClassFactory) | Builder to instantiate a [BluetoothClass](https://developer.android.com/reference/android/bluetooth/BluetoothClass.html). |\n| [BluetoothConfigManager](/reference/com/google/android/things/bluetooth/BluetoothConfigManager) | This class is used to control various configuration options for the Bluetooth stack. |\n| [BluetoothConnectionManager](/reference/com/google/android/things/bluetooth/BluetoothConnectionManager) | This class is responsible for handling Bluetooth pairing and connections with a remote [BluetoothDevice](https://developer.android.com/reference/android/bluetooth/BluetoothDevice.html) It allows developers to perform the following main operations. |\n| [BluetoothPairingCallback.PairingError](/reference/com/google/android/things/bluetooth/BluetoothPairingCallback.PairingError) | |\n| [BluetoothProfile](/reference/com/google/android/things/bluetooth/BluetoothProfile) | Lists all the Bluetooth profiles available in the system. |\n| [BluetoothProfileManager](/reference/com/google/android/things/bluetooth/BluetoothProfileManager) | Allows applications to enable/disable Bluetooth profiles on the system. |\n| [ConnectionParams](/reference/com/google/android/things/bluetooth/ConnectionParams) | This class encapsulates the information about a particular connection request with a remote Bluetooth device. |\n| [PairingParams](/reference/com/google/android/things/bluetooth/PairingParams) | This class encapsulates the data for a particular pairing attempt. |\n\n-\n\n Interfaces\n ----------\n\n - [BluetoothConnectionCallback](/reference/com/google/android/things/bluetooth/BluetoothConnectionCallback)\n - [BluetoothPairingCallback](/reference/com/google/android/things/bluetooth/BluetoothPairingCallback)\n-\n\n Classes\n -------\n\n - [BluetoothClassFactory](/reference/com/google/android/things/bluetooth/BluetoothClassFactory)\n - [BluetoothConfigManager](/reference/com/google/android/things/bluetooth/BluetoothConfigManager)\n - [BluetoothConnectionManager](/reference/com/google/android/things/bluetooth/BluetoothConnectionManager)\n - [BluetoothPairingCallback.PairingError](/reference/com/google/android/things/bluetooth/BluetoothPairingCallback.PairingError)\n - [BluetoothProfile](/reference/com/google/android/things/bluetooth/BluetoothProfile)\n - [BluetoothProfileManager](/reference/com/google/android/things/bluetooth/BluetoothProfileManager)\n - [ConnectionParams](/reference/com/google/android/things/bluetooth/ConnectionParams)\n - [PairingParams](/reference/com/google/android/things/bluetooth/PairingParams)"]]