Added in [API level 33](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels) Summary: [Ctors](https://developer.android.com/reference/android/bluetooth/BluetoothCodecStatus.Builder#pubctors) \| [Methods](https://developer.android.com/reference/android/bluetooth/BluetoothCodecStatus.Builder#pubmethods) \| [Inherited Methods](https://developer.android.com/reference/android/bluetooth/BluetoothCodecStatus.Builder#inhmethods)

# BluetoothCodecStatus.Builder

*** ** * ** ***

` public static final class BluetoothCodecStatus.Builder `   
` extends https://developer.android.com/reference/java/lang/Object ` ` `

|---|---|
| [java.lang.Object](https://developer.android.com/reference/java/lang/Object) ||
| ↳ | android.bluetooth.BluetoothCodecStatus.Builder |

<br />

*** ** * ** ***

Builder for `https://developer.android.com/reference/android/bluetooth/BluetoothCodecStatus`.

## Summary

| ### Public constructors ||
|---|---|
| ` https://developer.android.com/reference/android/bluetooth/BluetoothCodecStatus.Builder#Builder()() ` |

| ### Public methods ||
|---|---|
| ` https://developer.android.com/reference/android/bluetooth/BluetoothCodecStatus` | ` https://developer.android.com/reference/android/bluetooth/BluetoothCodecStatus.Builder#build()() ` Build `https://developer.android.com/reference/android/bluetooth/BluetoothCodecStatus`. |
| ` https://developer.android.com/reference/android/bluetooth/BluetoothCodecStatus.Builder` | ` https://developer.android.com/reference/android/bluetooth/BluetoothCodecStatus.Builder#setCodecConfig(android.bluetooth.BluetoothCodecConfig)(https://developer.android.com/reference/android/bluetooth/BluetoothCodecConfig codecConfig) ` Set Bluetooth codec config for this codec status. |
| ` https://developer.android.com/reference/android/bluetooth/BluetoothCodecStatus.Builder` | ` https://developer.android.com/reference/android/bluetooth/BluetoothCodecStatus.Builder#setCodecsLocalCapabilities(java.util.List<android.bluetooth.BluetoothCodecConfig>)(https://developer.android.com/reference/java/util/List<https://developer.android.com/reference/android/bluetooth/BluetoothCodecConfig> codecsLocalCapabilities) ` Set codec local capabilities list for this codec status. |
| ` https://developer.android.com/reference/android/bluetooth/BluetoothCodecStatus.Builder` | ` https://developer.android.com/reference/android/bluetooth/BluetoothCodecStatus.Builder#setCodecsSelectableCapabilities(java.util.List<android.bluetooth.BluetoothCodecConfig>)(https://developer.android.com/reference/java/util/List<https://developer.android.com/reference/android/bluetooth/BluetoothCodecConfig> codecsSelectableCapabilities) ` Set codec selectable capabilities list for this codec status. |

### Inherited methods

From class ` https://developer.android.com/reference/java/lang/Object ` ` https://developer.android.com/reference/java/lang/Object` ` https://developer.android.com/reference/java/lang/Object#clone()() `

Creates and returns a copy of this object.
` boolean` ` https://developer.android.com/reference/java/lang/Object#equals(java.lang.Object)(https://developer.android.com/reference/java/lang/Object obj) `

Indicates whether some other object is "equal to" this one.
` void` ` 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 https://developer.android.com/reference/java/lang/Class<?>` ` https://developer.android.com/reference/java/lang/Object#getClass()() `

Returns the runtime class of this `Object`.
` int` ` https://developer.android.com/reference/java/lang/Object#hashCode()() `

Returns a hash code value for the object.
` final void` ` https://developer.android.com/reference/java/lang/Object#notify()() `

Wakes up a single thread that is waiting on this object's monitor.
` final void` ` https://developer.android.com/reference/java/lang/Object#notifyAll()() `

Wakes up all threads that are waiting on this object's monitor.
` https://developer.android.com/reference/java/lang/String` ` https://developer.android.com/reference/java/lang/Object#toString()() `

Returns a string representation of the object.
` final void` ` https://developer.android.com/reference/java/lang/Object#wait(long,%20int)(long timeoutMillis, int nanos) `

Causes the current thread to wait until it is awakened, typically by being *notified* or *interrupted*, or until a certain amount of real time has elapsed.
` final void` ` https://developer.android.com/reference/java/lang/Object#wait(long)(long timeoutMillis) `

Causes the current thread to wait until it is awakened, typically by being *notified* or *interrupted*, or until a certain amount of real time has elapsed.
` final void` ` https://developer.android.com/reference/java/lang/Object#wait()() `

Causes the current thread to wait until it is awakened, typically by being *notified* or *interrupted*.

## Public constructors

### Builder

Added in [API level 33](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public Builder ()
```

<br />

<br />

## Public methods

### build

Added in [API level 33](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public BluetoothCodecStatus build ()
```

Build `https://developer.android.com/reference/android/bluetooth/BluetoothCodecStatus`.

<br />

| Returns ||
|---|---|
| `https://developer.android.com/reference/android/bluetooth/BluetoothCodecStatus` | new BluetoothCodecStatus built. This value cannot be `null`. <br /> |

### setCodecConfig

Added in [API level 33](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public BluetoothCodecStatus.Builder setCodecConfig (BluetoothCodecConfig codecConfig)
```

Set Bluetooth codec config for this codec status.

<br />

| Parameters ||
|---|---|
| `codecConfig` | `BluetoothCodecConfig`: of this codec status. This value cannot be `null`. <br /> |

| Returns ||
|---|---|
| `https://developer.android.com/reference/android/bluetooth/BluetoothCodecStatus.Builder` | the same Builder instance. This value cannot be `null`. <br /> |

### setCodecsLocalCapabilities

Added in [API level 33](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public BluetoothCodecStatus.Builder setCodecsLocalCapabilities (List<BluetoothCodecConfig> codecsLocalCapabilities)
```

Set codec local capabilities list for this codec status.

<br />

| Parameters ||
|---|---|
| `codecsLocalCapabilities` | `List`: of this codec status. This value cannot be `null`. <br /> |

| Returns ||
|---|---|
| `https://developer.android.com/reference/android/bluetooth/BluetoothCodecStatus.Builder` | the same Builder instance. This value cannot be `null`. <br /> |

### setCodecsSelectableCapabilities

Added in [API level 33](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public BluetoothCodecStatus.Builder setCodecsSelectableCapabilities (List<BluetoothCodecConfig> codecsSelectableCapabilities)
```

Set codec selectable capabilities list for this codec status.

<br />

| Parameters ||
|---|---|
| `codecsSelectableCapabilities` | `List`: of this codec status. This value cannot be `null`. <br /> |

| Returns ||
|---|---|
| `https://developer.android.com/reference/android/bluetooth/BluetoothCodecStatus.Builder` | the same Builder instance. This value cannot be `null`. <br /> |