# BluetoothProfile

Summary:[Constants](https://developer.android.com/reference/com/google/android/things/bluetooth/BluetoothProfile#constants)\|[Ctors](https://developer.android.com/reference/com/google/android/things/bluetooth/BluetoothProfile#pubctors)\|[Inherited Methods](https://developer.android.com/reference/com/google/android/things/bluetooth/BluetoothProfile#inhmethods)\|[\[Expand All\]](https://developer.android.com/reference/com/google/android/things/bluetooth/BluetoothProfile#)  

# BluetoothProfile

`
public

final

class
BluetoothProfile
`  
`

extends `[Object](https://developer.android.com/reference/java/lang/Object)`


``


`

|---|------------------------------------------------------|
| [java.lang.Object](https://developer.android.com/reference/java/lang/Object) ||
| ↳ | com.google.android.things.bluetooth.BluetoothProfile |

<br />

*** ** * ** ***

Lists all the Bluetooth profiles available in the system. Redefines profiles list from[BluetoothProfile](https://developer.android.com/reference/android/bluetooth/BluetoothProfile.html)relevant for Android Things.

## Summary

|                                                                           ### Constants                                                                           ||
|-------|------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `int` | [A2DP](https://developer.android.com/reference/com/google/android/things/bluetooth/BluetoothProfile#A2DP) A2DP profile.                                    |
| `int` | [A2DP_SINK](https://developer.android.com/reference/com/google/android/things/bluetooth/BluetoothProfile#A2DP_SINK) A2DP Sink Profile                      |
| `int` | [AVRCP_CONTROLLER](https://developer.android.com/reference/com/google/android/things/bluetooth/BluetoothProfile#AVRCP_CONTROLLER) AVRCP Controller Profile |
| `int` | [GATT](https://developer.android.com/reference/com/google/android/things/bluetooth/BluetoothProfile#GATT) GATT                                             |
| `int` | [GATT_SERVER](https://developer.android.com/reference/com/google/android/things/bluetooth/BluetoothProfile#GATT_SERVER) GATT_SERVER                        |
| `int` | [HEADSET](https://developer.android.com/reference/com/google/android/things/bluetooth/BluetoothProfile#HEADSET) Headset and Handsfree profile              |
| `int` | [HEALTH](https://developer.android.com/reference/com/google/android/things/bluetooth/BluetoothProfile#HEALTH) Health Profile                               |
| `int` | [SAP](https://developer.android.com/reference/com/google/android/things/bluetooth/BluetoothProfile#SAP) <br />                                             |

|                                                            ### Public constructors                                                             ||
|---------------------------------------------------------------------------------------------------------------------------------------------|---|
| ` `[BluetoothProfile](https://developer.android.com/reference/com/google/android/things/bluetooth/BluetoothProfile#BluetoothProfile())`() ` |

| ### Inherited methods |
|-----------------------|---|
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/com/google/android/things/bluetooth/BluetoothProfile#)From class` `[java.lang.Object](https://developer.android.com/reference/java/lang/Object)` ` |--------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ` `[Object](https://developer.android.com/reference/java/lang/Object)          | ` `[clone](https://developer.android.com/reference/java/lang/Object#clone())`() ` Creates and returns a copy of this object.                                                                                                                                                                                                                                                                                                                                                                      | | ` boolean`                                                                     | ` `[equals](https://developer.android.com/reference/java/lang/Object#equals(java.lang.Object))`(`[Object](https://developer.android.com/reference/java/lang/Object)` obj) ` Indicates whether some other object is "equal to" this one.                                                                                                                                                                                                                                                           | | ` void`                                                                        | ` `[finalize](https://developer.android.com/reference/java/lang/Object#finalize())`() ` Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.                                                                                                                                                                                                                                                                          | | ` final `[Class](https://developer.android.com/reference/java/lang/Class)`<?>` | ` `[getClass](https://developer.android.com/reference/java/lang/Object#getClass())`() ` Returns the runtime class of this`Object`.                                                                                                                                                                                                                                                                                                                                                                | | ` int`                                                                         | ` `[hashCode](https://developer.android.com/reference/java/lang/Object#hashCode())`() ` Returns a hash code value for the object.                                                                                                                                                                                                                                                                                                                                                                 | | ` final void`                                                                  | ` `[notify](https://developer.android.com/reference/java/lang/Object#notify())`() ` Wakes up a single thread that is waiting on this object's monitor.                                                                                                                                                                                                                                                                                                                                            | | ` final void`                                                                  | ` `[notifyAll](https://developer.android.com/reference/java/lang/Object#notifyAll())`() ` Wakes up all threads that are waiting on this object's monitor.                                                                                                                                                                                                                                                                                                                                         | | ` `[String](https://developer.android.com/reference/java/lang/String)          | ` `[toString](https://developer.android.com/reference/java/lang/Object#toString())`() ` Returns a string representation of the object.                                                                                                                                                                                                                                                                                                                                                            | | ` final void`                                                                  | ` `[wait](https://developer.android.com/reference/java/lang/Object#wait(long, int))`(long millis, int nanos) ` Causes the current thread to wait until another thread invokes the[notify()](https://developer.android.com/reference/java/lang/Object.html#notify())method or the[notifyAll()](https://developer.android.com/reference/java/lang/Object.html#notifyAll())method for this object, or some other thread interrupts the current thread, or a certain amount of real time has elapsed. | | ` final void`                                                                  | ` `[wait](https://developer.android.com/reference/java/lang/Object#wait(long))`(long millis) ` Causes the current thread to wait until either another thread invokes the[notify()](https://developer.android.com/reference/java/lang/Object.html#notify())method or the[notifyAll()](https://developer.android.com/reference/java/lang/Object.html#notifyAll())method for this object, or a specified amount of time has elapsed.                                                                 | | ` final void`                                                                  | ` `[wait](https://developer.android.com/reference/java/lang/Object#wait())`() ` Causes the current thread to wait until another thread invokes the[notify()](https://developer.android.com/reference/java/lang/Object.html#notify())method or the[notifyAll()](https://developer.android.com/reference/java/lang/Object.html#notifyAll())method for this object.                                                                                                                                  | ||

## Constants

### A2DP

```
int A2DP
```

A2DP profile.

<br />

Constant Value: 2 (0x00000002)  

### A2DP_SINK

```
int A2DP_SINK
```

A2DP Sink Profile

<br />

Constant Value: 11 (0x0000000b)  

### AVRCP_CONTROLLER

```
int AVRCP_CONTROLLER
```

AVRCP Controller Profile

<br />

Constant Value: 12 (0x0000000c)  

### GATT

```
int GATT
```

GATT

<br />

Constant Value: 7 (0x00000007)  

### GATT_SERVER

```
int GATT_SERVER
```

GATT_SERVER

<br />

Constant Value: 8 (0x00000008)  

### HEADSET

```
int HEADSET
```

Headset and Handsfree profile

<br />

Constant Value: 1 (0x00000001)  

### HEALTH

```
int HEALTH
```

Health Profile

<br />

Constant Value: 3 (0x00000003)  

### SAP

```
int SAP
```

<br />

<br />

Constant Value: 10 (0x0000000a)

## Public constructors

### BluetoothProfile

```
BluetoothProfile ()
```

<br />

<br />

-

  ## Interfaces

  - [BluetoothConnectionCallback](https://developer.android.com/reference/com/google/android/things/bluetooth/BluetoothConnectionCallback)
  - [BluetoothPairingCallback](https://developer.android.com/reference/com/google/android/things/bluetooth/BluetoothPairingCallback)
-

  ## Classes

  - [BluetoothClassFactory](https://developer.android.com/reference/com/google/android/things/bluetooth/BluetoothClassFactory)
  - [BluetoothConfigManager](https://developer.android.com/reference/com/google/android/things/bluetooth/BluetoothConfigManager)
  - [BluetoothConnectionManager](https://developer.android.com/reference/com/google/android/things/bluetooth/BluetoothConnectionManager)
  - [BluetoothPairingCallback.PairingError](https://developer.android.com/reference/com/google/android/things/bluetooth/BluetoothPairingCallback.PairingError)
  - [BluetoothProfile](https://developer.android.com/reference/com/google/android/things/bluetooth/BluetoothProfile)
  - [BluetoothProfileManager](https://developer.android.com/reference/com/google/android/things/bluetooth/BluetoothProfileManager)
  - [ConnectionParams](https://developer.android.com/reference/com/google/android/things/bluetooth/ConnectionParams)
  - [PairingParams](https://developer.android.com/reference/com/google/android/things/bluetooth/PairingParams)