語言

BluetoothLeAudioCodecConfig.Builder.SetCodecPriority(Int32) 方法

定義

設定藍牙 LE 音訊編碼器的編碼優先權。

[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

參數

codecPriority
Int32

這個編解碼器。 價值屬於以下之一:BluetoothLeAudioCodecConfig.CODEC_PRIORITY_DISABLED;BluetoothLeAudioCodecConfig.CODEC_PRIORITY_DEFAULT;BluetoothLeAudioCodecConfig.CODEC_PRIORITY_HIGHEST

傳回

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

屬性

備註

設定藍牙 LE 音訊編碼器的編碼優先權。

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

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

適用於