語言

BluetoothCodecConfig.Builder.SetBitsPerSample(Int32) 方法

定義

設定藍牙編解碼器的位元數。

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

參數

bitsPerSample
Int32

這個編解碼器。 價值屬於以下之一:BluetoothCodecConfig.BITS_PER_SAMPLE_NONE;BluetoothCodecConfig.BITS_PER_SAMPLE_16;BluetoothCodecConfig.BITS_PER_SAMPLE_24;BluetoothCodecConfig.BITS_PER_SAMPLE_32

傳回

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

屬性

備註

設定藍牙編解碼器的位元數。

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

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

適用於