語言

BluetoothLeAudioCodecConfig.Builder.SetBitsPerSample(Int32) 方法

定義

設定 LE 音訊編解碼器的每取樣位元。

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

參數

bitsPerSample
Int32

這個編解碼器。 值為0或以下組合:BluetoothLeAudioCodecConfig.BITS_PER_SAMPLE_NONE;BluetoothLeAudioCodecConfig.BITS_PER_SAMPLE_16;BluetoothLeAudioCodecConfig.BITS_PER_SAMPLE_24;BluetoothLeAudioCodecConfig.BITS_PER_SAMPLE_32

傳回

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

屬性

備註

設定 LE 音訊編解碼器的每取樣位元。

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

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

適用於