Skip to content

Most visited

Recently visited

navigation

BluetoothProfile

BluetoothProfile

public final class BluetoothProfile
extends Object

java.lang.Object
   ↳ com.google.android.things.bluetooth.BluetoothProfile


Lists all the Bluetooth profiles available in the system. Redefines profiles list from BluetoothProfile relevant for Android Things.

Summary

Constants

int A2DP

A2DP profile.

int A2DP_SINK

A2DP Sink Profile

int AVRCP_CONTROLLER

AVRCP Controller Profile

int GATT

GATT

int GATT_SERVER

GATT_SERVER

int HEADSET

Headset and Handsfree profile

int HEALTH

Health Profile

int SAP

Public constructors

BluetoothProfile()

Inherited methods

From class java.lang.Object

Constants

A2DP

int A2DP

A2DP profile.

Constant Value: 2 (0x00000002)

A2DP_SINK

int A2DP_SINK

A2DP Sink Profile

Constant Value: 11 (0x0000000b)

AVRCP_CONTROLLER

int AVRCP_CONTROLLER

AVRCP Controller Profile

Constant Value: 12 (0x0000000c)

GATT

int GATT

GATT

Constant Value: 7 (0x00000007)

GATT_SERVER

int GATT_SERVER

GATT_SERVER

Constant Value: 8 (0x00000008)

HEADSET

int HEADSET

Headset and Handsfree profile

Constant Value: 1 (0x00000001)

HEALTH

int HEALTH

Health Profile

Constant Value: 3 (0x00000003)

SAP

int SAP

Constant Value: 10 (0x0000000a)

Public constructors

BluetoothProfile

BluetoothProfile ()

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!

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 one-minute survey?
Help us improve Android tools and documentation.