语言

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

返回

同一个 Builder 实例。 此值不能为 null。

特性

注解

为蓝牙编解码器配置设置每个示例的位数。

Android 参考。android.bluetooth.BluetoothCodecConfig.Builder.setBitsPerSample

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于