BluetoothLeAudioCodecConfig.Builder.SetCodecType(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.