Skip to content

Most visited

Recently visited

navigation

com.google.android.things.bluetooth

com.google.android.things.bluetooth

Interfaces

BluetoothConnectionCallback This callback is invoked when the device receives requests for Bluetooth profile connections and contains Controllers to handle the connection process. 
BluetoothPairingCallback This callback is invoked during the Bluetooth pairing process and contains the relevant Pairing controllers to handle Bluetooth pairing. 

Classes

BluetoothClassFactory Builder to instantiate a BluetoothClass
BluetoothConfigManager This class is used to control various configuration options for the Bluetooth stack. 
BluetoothConnectionManager This class is responsible for handling Bluetooth pairing and connections with a remote BluetoothDevice

It allows developers to perform the following main operations. 

BluetoothPairingCallback.PairingError  
BluetoothProfile Lists all the Bluetooth profiles available in the system. 
BluetoothProfileManager Allows applications to enable/disable Bluetooth profiles on the system. 
ConnectionParams This class encapsulates the information about a particular connection request with a remote Bluetooth device. 
PairingParams This class encapsulates the data for a particular pairing attempt. 
This site uses cookies to store your preferences for site-specific language and display options.

Get the latest Android developer news and tips that will help you find success on Google Play.

* Required Fields

Hooray!

Follow Google Developers on WeChat

Browse this site in ?

You requested a page in , but your language preference for this site is .

Would you like to change your language preference and browse this site in ? If you want to change your language preference later, use the language menu at the bottom of each page.

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a short survey?
Help us improve the Android developer experience. (April 2018 — Developer Survey)