語言

BluetoothLeAudioCodecConfig.Builder.SetChannelCount(Int32) 方法

定義

設定藍牙LE音訊編碼器的頻道數。

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

參數

channelCount
Int32

這個編解碼器。 值為0或以下組合:BluetoothLeAudioCodecConfig.CHANNEL_COUNT_NONE;BluetoothLeAudioCodecConfig.CHANNEL_COUNT_1;BluetoothLeAudioCodecConfig.CHANNEL_COUNT_2

傳回

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

屬性

備註

設定藍牙LE音訊編碼器的頻道數。

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

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

適用於