Język

BluetoothLeAudioCodecConfig.Builder.SetCodecPriority(Int32) Method

Definition

Set codec priority for Bluetooth LE audio codec config.

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

Parameters

codecPriority
Int32

of this codec. Value is one of the following: BluetoothLeAudioCodecConfig.CODEC_PRIORITY_DISABLED; BluetoothLeAudioCodecConfig.CODEC_PRIORITY_DEFAULT; BluetoothLeAudioCodecConfig.CODEC_PRIORITY_HIGHEST

Returns

the same Builder instance. This value cannot be null.

Attributes

Remarks

Set codec priority for Bluetooth LE audio codec config.

Android reference for android.bluetooth.BluetoothLeAudioCodecConfig.Builder.setCodecPriority.

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