語言

BluetoothLeAudioCodecConfig.Builder.SetCodecType(Int32) 方法

定義

設定藍牙LE音訊編解碼器的編解碼器類型。

[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

參數

codecType
Int32

這個編解碼器。 價值屬於以下之一: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

傳回

同一個建造者實例。 這個值不可能為零值。

屬性

備註

設定藍牙LE音訊編解碼器的編解碼器類型。

Android 參考資料。android.bluetooth.BluetoothLeAudioCodecConfig.Builder.setCodecType

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於