# BluetoothCodecConfig.Builder

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/BluetoothCodecConfig.Builder#pubctors)\|[Methods](https://developer.android.com/reference/android/bluetooth/BluetoothCodecConfig.Builder#pubmethods)\|[Inherited Methods](https://developer.android.com/reference/android/bluetooth/BluetoothCodecConfig.Builder#inhmethods)  

# BluetoothCodecConfig.Builder

*** ** * ** ***

[Kotlin](https://developer.android.com/reference/kotlin/android/bluetooth/BluetoothCodecConfig.Builder "View this page in Kotlin")\|Java

`
public
static
final

class
BluetoothCodecConfig.Builder
`  
`

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


``


`

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

<br />

*** ** * ** ***

Builder for[BluetoothCodecConfig](https://developer.android.com/reference/android/bluetooth/BluetoothCodecConfig).

By default, the codec type will be set to[BluetoothCodecConfig.SOURCE_CODEC_TYPE_INVALID](https://developer.android.com/reference/android/bluetooth/BluetoothCodecConfig#SOURCE_CODEC_TYPE_INVALID), the codec priority to[BluetoothCodecConfig.CODEC_PRIORITY_DEFAULT](https://developer.android.com/reference/android/bluetooth/BluetoothCodecConfig#CODEC_PRIORITY_DEFAULT), the sample rate to[BluetoothCodecConfig.SAMPLE_RATE_NONE](https://developer.android.com/reference/android/bluetooth/BluetoothCodecConfig#SAMPLE_RATE_NONE), the bits per sample to[BluetoothCodecConfig.BITS_PER_SAMPLE_NONE](https://developer.android.com/reference/android/bluetooth/BluetoothCodecConfig#BITS_PER_SAMPLE_NONE), the channel mode to[BluetoothCodecConfig.CHANNEL_MODE_NONE](https://developer.android.com/reference/android/bluetooth/BluetoothCodecConfig#CHANNEL_MODE_NONE), and all the codec specific values to 0.

## Summary

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

|                                                                                                                                                                                                                          ### Public methods                                                                                                                                                                                                                           ||
|---------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ` `[BluetoothCodecConfig](https://developer.android.com/reference/android/bluetooth/BluetoothCodecConfig)                 | ` `[build](https://developer.android.com/reference/android/bluetooth/BluetoothCodecConfig.Builder#build())`() ` Build[BluetoothCodecConfig](https://developer.android.com/reference/android/bluetooth/BluetoothCodecConfig).                                                                                                               |
| ` `[BluetoothCodecConfig.Builder](https://developer.android.com/reference/android/bluetooth/BluetoothCodecConfig.Builder) | ` `[setBitsPerSample](https://developer.android.com/reference/android/bluetooth/BluetoothCodecConfig.Builder#setBitsPerSample(int))`(int bitsPerSample) ` Set the bits per sample for Bluetooth codec config.                                                                                                                              |
| ` `[BluetoothCodecConfig.Builder](https://developer.android.com/reference/android/bluetooth/BluetoothCodecConfig.Builder) | ` `[setChannelMode](https://developer.android.com/reference/android/bluetooth/BluetoothCodecConfig.Builder#setChannelMode(int))`(int channelMode) ` Set the channel mode for Bluetooth codec config.                                                                                                                                       |
| ` `[BluetoothCodecConfig.Builder](https://developer.android.com/reference/android/bluetooth/BluetoothCodecConfig.Builder) | ` `[setCodecPriority](https://developer.android.com/reference/android/bluetooth/BluetoothCodecConfig.Builder#setCodecPriority(int))`(int codecPriority) ` Set codec priority for Bluetooth codec config.                                                                                                                                   |
| ` `[BluetoothCodecConfig.Builder](https://developer.android.com/reference/android/bluetooth/BluetoothCodecConfig.Builder) | ` `[setCodecSpecific1](https://developer.android.com/reference/android/bluetooth/BluetoothCodecConfig.Builder#setCodecSpecific1(long))`(long codecSpecific1) ` Set the first codec specific values for Bluetooth codec config.                                                                                                             |
| ` `[BluetoothCodecConfig.Builder](https://developer.android.com/reference/android/bluetooth/BluetoothCodecConfig.Builder) | ` `[setCodecSpecific2](https://developer.android.com/reference/android/bluetooth/BluetoothCodecConfig.Builder#setCodecSpecific2(long))`(long codecSpecific2) ` Set the second codec specific values for Bluetooth codec config.                                                                                                            |
| ` `[BluetoothCodecConfig.Builder](https://developer.android.com/reference/android/bluetooth/BluetoothCodecConfig.Builder) | ` `[setCodecSpecific3](https://developer.android.com/reference/android/bluetooth/BluetoothCodecConfig.Builder#setCodecSpecific3(long))`(long codecSpecific3) ` Set the third codec specific values for Bluetooth codec config.                                                                                                             |
| ` `[BluetoothCodecConfig.Builder](https://developer.android.com/reference/android/bluetooth/BluetoothCodecConfig.Builder) | ` `[setCodecSpecific4](https://developer.android.com/reference/android/bluetooth/BluetoothCodecConfig.Builder#setCodecSpecific4(long))`(long codecSpecific4) ` Set the fourth codec specific values for Bluetooth codec config.                                                                                                            |
| ` `[BluetoothCodecConfig.Builder](https://developer.android.com/reference/android/bluetooth/BluetoothCodecConfig.Builder) | ` `[setCodecType](https://developer.android.com/reference/android/bluetooth/BluetoothCodecConfig.Builder#setCodecType(int))`(int codecType) ` *This method was deprecated in API level 35. use[BluetoothCodecType](https://developer.android.com/reference/android/bluetooth/BluetoothCodecType)instead*                                   |
| ` `[BluetoothCodecConfig.Builder](https://developer.android.com/reference/android/bluetooth/BluetoothCodecConfig.Builder) | ` `[setExtendedCodecType](https://developer.android.com/reference/android/bluetooth/BluetoothCodecConfig.Builder#setExtendedCodecType(android.bluetooth.BluetoothCodecType))`(`[BluetoothCodecType](https://developer.android.com/reference/android/bluetooth/BluetoothCodecType)` codecType) ` Set codec type for Bluetooth codec config. |
| ` `[BluetoothCodecConfig.Builder](https://developer.android.com/reference/android/bluetooth/BluetoothCodecConfig.Builder) | ` `[setSampleRate](https://developer.android.com/reference/android/bluetooth/BluetoothCodecConfig.Builder#setSampleRate(int))`(int sampleRate) ` Set sample rate for Bluetooth codec config.                                                                                                                                               |

| ### Inherited methods |
|-----------------------|---|
| 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,%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`                                                                  | ` `[wait](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`                                                                  | ` `[wait](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 BluetoothCodecConfig build ()
```

Build[BluetoothCodecConfig](https://developer.android.com/reference/android/bluetooth/BluetoothCodecConfig).

<br />

|                                                                                  Returns                                                                                  ||
|--------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------|
| [BluetoothCodecConfig](https://developer.android.com/reference/android/bluetooth/BluetoothCodecConfig) | new BluetoothCodecConfig built This value cannot be`null`. <br /> |

### setBitsPerSample

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

```
public BluetoothCodecConfig.Builder setBitsPerSample (int bitsPerSample)
```

Set the bits per sample for Bluetooth codec config.

<br />

|                                                                                                                                                                                                                                                                                                                   Parameters                                                                                                                                                                                                                                                                                                                    ||
|-----------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `bitsPerSample` | `int`: of this codec Value is[BluetoothCodecConfig.BITS_PER_SAMPLE_NONE](https://developer.android.com/reference/android/bluetooth/BluetoothCodecConfig#BITS_PER_SAMPLE_NONE),[BluetoothCodecConfig.BITS_PER_SAMPLE_16](https://developer.android.com/reference/android/bluetooth/BluetoothCodecConfig#BITS_PER_SAMPLE_16),[BluetoothCodecConfig.BITS_PER_SAMPLE_24](https://developer.android.com/reference/android/bluetooth/BluetoothCodecConfig#BITS_PER_SAMPLE_24), or[BluetoothCodecConfig.BITS_PER_SAMPLE_32](https://developer.android.com/reference/android/bluetooth/BluetoothCodecConfig#BITS_PER_SAMPLE_32) <br /> |

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

### setChannelMode

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

```
public BluetoothCodecConfig.Builder setChannelMode (int channelMode)
```

Set the channel mode for Bluetooth codec config.

<br />

|                                                                                                                                                                                                                                         Parameters                                                                                                                                                                                                                                         ||
|---------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `channelMode` | `int`: of this codec Value is[BluetoothCodecConfig.CHANNEL_MODE_NONE](https://developer.android.com/reference/android/bluetooth/BluetoothCodecConfig#CHANNEL_MODE_NONE),[BluetoothCodecConfig.CHANNEL_MODE_MONO](https://developer.android.com/reference/android/bluetooth/BluetoothCodecConfig#CHANNEL_MODE_MONO), or[BluetoothCodecConfig.CHANNEL_MODE_STEREO](https://developer.android.com/reference/android/bluetooth/BluetoothCodecConfig#CHANNEL_MODE_STEREO) <br /> |

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

### setCodecPriority

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

```
public BluetoothCodecConfig.Builder setCodecPriority (int codecPriority)
```

Set codec priority for Bluetooth codec config.

<br />

|                                                                                                                                                                                                                                                        Parameters                                                                                                                                                                                                                                                        ||
|-----------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `codecPriority` | `int`: of this codec Value is[BluetoothCodecConfig.CODEC_PRIORITY_DISABLED](https://developer.android.com/reference/android/bluetooth/BluetoothCodecConfig#CODEC_PRIORITY_DISABLED),[BluetoothCodecConfig.CODEC_PRIORITY_DEFAULT](https://developer.android.com/reference/android/bluetooth/BluetoothCodecConfig#CODEC_PRIORITY_DEFAULT), or[BluetoothCodecConfig.CODEC_PRIORITY_HIGHEST](https://developer.android.com/reference/android/bluetooth/BluetoothCodecConfig#CODEC_PRIORITY_HIGHEST) <br /> |

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

### setCodecSpecific1

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

```
public BluetoothCodecConfig.Builder setCodecSpecific1 (long codecSpecific1)
```

Set the first codec specific values for Bluetooth codec config.

<br />

|                              Parameters                               ||
|------------------|-----------------------------------------------------|
| `codecSpecific1` | `long`: codec specific value or 0 if default <br /> |

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

### setCodecSpecific2

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

```
public BluetoothCodecConfig.Builder setCodecSpecific2 (long codecSpecific2)
```

Set the second codec specific values for Bluetooth codec config.

<br />

|                              Parameters                               ||
|------------------|-----------------------------------------------------|
| `codecSpecific2` | `long`: codec specific value or 0 if default <br /> |

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

### setCodecSpecific3

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

```
public BluetoothCodecConfig.Builder setCodecSpecific3 (long codecSpecific3)
```

Set the third codec specific values for Bluetooth codec config.

<br />

|                              Parameters                               ||
|------------------|-----------------------------------------------------|
| `codecSpecific3` | `long`: codec specific value or 0 if default <br /> |

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

### setCodecSpecific4

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

```
public BluetoothCodecConfig.Builder setCodecSpecific4 (long codecSpecific4)
```

Set the fourth codec specific values for Bluetooth codec config.

<br />

|                              Parameters                               ||
|------------------|-----------------------------------------------------|
| `codecSpecific4` | `long`: codec specific value or 0 if default <br /> |

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

### setCodecType

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

```
public BluetoothCodecConfig.Builder setCodecType (int codecType)
```

<br />

**This method was deprecated in API level 35.**   
use[BluetoothCodecType](https://developer.android.com/reference/android/bluetooth/BluetoothCodecType)instead

Set codec type for Bluetooth codec config.

<br />

|                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Parameters                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ||
|-------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `codecType` | `int`: of this codec Value is[BluetoothCodecConfig.SOURCE_CODEC_TYPE_SBC](https://developer.android.com/reference/android/bluetooth/BluetoothCodecConfig#SOURCE_CODEC_TYPE_SBC),[BluetoothCodecConfig.SOURCE_CODEC_TYPE_AAC](https://developer.android.com/reference/android/bluetooth/BluetoothCodecConfig#SOURCE_CODEC_TYPE_AAC),[BluetoothCodecConfig.SOURCE_CODEC_TYPE_APTX](https://developer.android.com/reference/android/bluetooth/BluetoothCodecConfig#SOURCE_CODEC_TYPE_APTX),[BluetoothCodecConfig.SOURCE_CODEC_TYPE_APTX_HD](https://developer.android.com/reference/android/bluetooth/BluetoothCodecConfig#SOURCE_CODEC_TYPE_APTX_HD),[BluetoothCodecConfig.SOURCE_CODEC_TYPE_LDAC](https://developer.android.com/reference/android/bluetooth/BluetoothCodecConfig#SOURCE_CODEC_TYPE_LDAC),[BluetoothCodecConfig.SOURCE_CODEC_TYPE_LC3](https://developer.android.com/reference/android/bluetooth/BluetoothCodecConfig#SOURCE_CODEC_TYPE_LC3),[BluetoothCodecConfig.SOURCE_CODEC_TYPE_OPUS](https://developer.android.com/reference/android/bluetooth/BluetoothCodecConfig#SOURCE_CODEC_TYPE_OPUS), or[BluetoothCodecConfig.SOURCE_CODEC_TYPE_INVALID](https://developer.android.com/reference/android/bluetooth/BluetoothCodecConfig#SOURCE_CODEC_TYPE_INVALID) <br /> |

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

### setExtendedCodecType

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

```
public BluetoothCodecConfig.Builder setExtendedCodecType (BluetoothCodecType codecType)
```

Set codec type for Bluetooth codec config.

<br />

|                                    Parameters                                    ||
|-------------|---------------------------------------------------------------------|
| `codecType` | `BluetoothCodecType`: of this codec This value may be`null`. <br /> |

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

### setSampleRate

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

```
public BluetoothCodecConfig.Builder setSampleRate (int sampleRate)
```

Set sample rate for Bluetooth codec config.

<br />

|                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             Parameters                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ||
|--------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `sampleRate` | `int`: of this codec Value is[BluetoothCodecConfig.SAMPLE_RATE_NONE](https://developer.android.com/reference/android/bluetooth/BluetoothCodecConfig#SAMPLE_RATE_NONE),[BluetoothCodecConfig.SAMPLE_RATE_44100](https://developer.android.com/reference/android/bluetooth/BluetoothCodecConfig#SAMPLE_RATE_44100),[BluetoothCodecConfig.SAMPLE_RATE_48000](https://developer.android.com/reference/android/bluetooth/BluetoothCodecConfig#SAMPLE_RATE_48000),[BluetoothCodecConfig.SAMPLE_RATE_88200](https://developer.android.com/reference/android/bluetooth/BluetoothCodecConfig#SAMPLE_RATE_88200),[BluetoothCodecConfig.SAMPLE_RATE_96000](https://developer.android.com/reference/android/bluetooth/BluetoothCodecConfig#SAMPLE_RATE_96000),[BluetoothCodecConfig.SAMPLE_RATE_176400](https://developer.android.com/reference/android/bluetooth/BluetoothCodecConfig#SAMPLE_RATE_176400), or[BluetoothCodecConfig.SAMPLE_RATE_192000](https://developer.android.com/reference/android/bluetooth/BluetoothCodecConfig#SAMPLE_RATE_192000) <br /> |

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