Język

BluetoothLeAudioCodecConfig.Builder.SetCodecType(Int32) Method

Definition

Set codec type for Bluetooth LE audio codec config.

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

Parameters

codecType
Int32

of this codec. Value is one of the following: BluetoothLeAudioCodecConfig.SOURCE_CODEC_TYPE_LC3; BluetoothLeAudioCodecConfig.SOURCE_CODEC_TYPE_OPUS; BluetoothLeAudioCodecConfig.SOURCE_CODEC_TYPE_OPUS_HI_RES; BluetoothLeAudioCodecConfig.SOURCE_CODEC_TYPE_VENDOR_SPECIFIC; BluetoothLeAudioCodecConfig.SOURCE_CODEC_TYPE_INVALID

Returns

the same Builder instance. This value cannot be null.

Attributes

Remarks

Set codec type for Bluetooth LE audio codec config.

Android reference for android.bluetooth.BluetoothLeAudioCodecConfig.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