Lingua

BluetoothCodecConfig.Builder.SetCodecType(Int32) Method

Definition

[Android.Runtime.Register("setCodecType", "(I)Landroid/bluetooth/BluetoothCodecConfig$Builder;", "", ApiSince=33)]
public Android.Bluetooth.BluetoothCodecConfig.Builder SetCodecType(int codecType);
[<Android.Runtime.Register("setCodecType", "(I)Landroid/bluetooth/BluetoothCodecConfig$Builder;", "", ApiSince=33)>]
member this.SetCodecType : int -> Android.Bluetooth.BluetoothCodecConfig.Builder

Parameters

codecType
Int32

of this codec. Value is one of the following: BluetoothCodecConfig.SOURCE_CODEC_TYPE_SBC; BluetoothCodecConfig.SOURCE_CODEC_TYPE_AAC; BluetoothCodecConfig.SOURCE_CODEC_TYPE_APTX; BluetoothCodecConfig.SOURCE_CODEC_TYPE_APTX_HD; BluetoothCodecConfig.SOURCE_CODEC_TYPE_LDAC; BluetoothCodecConfig.SOURCE_CODEC_TYPE_LC3; BluetoothCodecConfig.SOURCE_CODEC_TYPE_OPUS; BluetoothCodecConfig.SOURCE_CODEC_TYPE_INVALID

Returns

the same Builder instance. This value cannot be null.

Attributes

Remarks

This method was deprecated in API level 35. use setExtendedCodecType(BluetoothCodecType) instead

Android reference for android.bluetooth.BluetoothCodecConfig.Builder.setCodecType.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to