Added in API level 33
Builder
class Builder
kotlin.Any | |
↳ | android.bluetooth.BluetoothCodecStatus.Builder |
Builder for BluetoothCodecStatus
.
Summary
Public constructors | |
---|---|
Builder() |
Public methods | |
---|---|
BluetoothCodecStatus |
build() Build |
BluetoothCodecStatus.Builder |
setCodecConfig(codecConfig: BluetoothCodecConfig) Set Bluetooth codec config for this codec status. |
BluetoothCodecStatus.Builder |
setCodecsLocalCapabilities(codecsLocalCapabilities: MutableList<BluetoothCodecConfig!>) Set codec local capabilities list for this codec status. |
BluetoothCodecStatus.Builder |
setCodecsSelectableCapabilities(codecsSelectableCapabilities: MutableList<BluetoothCodecConfig!>) Set codec selectable capabilities list for this codec status. |
Public constructors
Public methods
build
Added in API level 33
fun build(): BluetoothCodecStatus
Build BluetoothCodecStatus
.
Return | |
---|---|
BluetoothCodecStatus |
new BluetoothCodecStatus built This value cannot be null . |
setCodecConfig
Added in API level 33
fun setCodecConfig(codecConfig: BluetoothCodecConfig): BluetoothCodecStatus.Builder
Set Bluetooth codec config for this codec status.
Parameters | |
---|---|
codecConfig |
BluetoothCodecConfig: of this codec status This value cannot be null . |
Return | |
---|---|
BluetoothCodecStatus.Builder |
the same Builder instance This value cannot be null . |
setCodecsLocalCapabilities
Added in API level 33
fun setCodecsLocalCapabilities(codecsLocalCapabilities: MutableList<BluetoothCodecConfig!>): BluetoothCodecStatus.Builder
Set codec local capabilities list for this codec status.
Parameters | |
---|---|
codecsLocalCapabilities |
MutableList<BluetoothCodecConfig!>: of this codec status This value cannot be null . |
Return | |
---|---|
BluetoothCodecStatus.Builder |
the same Builder instance This value cannot be null . |
setCodecsSelectableCapabilities
Added in API level 33
fun setCodecsSelectableCapabilities(codecsSelectableCapabilities: MutableList<BluetoothCodecConfig!>): BluetoothCodecStatus.Builder
Set codec selectable capabilities list for this codec status.
Parameters | |
---|---|
codecsSelectableCapabilities |
MutableList<BluetoothCodecConfig!>: of this codec status This value cannot be null . |
Return | |
---|---|
BluetoothCodecStatus.Builder |
the same Builder instance This value cannot be null . |