Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.

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 ()