Language

BluetoothCodecConfig.Builder.SetSampleRate(Int32) Method

Definition

Set sample rate for Bluetooth codec config.

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

Parameters

sampleRate
Int32

of this codec. Value is one of the following: BluetoothCodecConfig.SAMPLE_RATE_NONE; BluetoothCodecConfig.SAMPLE_RATE_44100; BluetoothCodecConfig.SAMPLE_RATE_48000; BluetoothCodecConfig.SAMPLE_RATE_88200; BluetoothCodecConfig.SAMPLE_RATE_96000; BluetoothCodecConfig.SAMPLE_RATE_176400; BluetoothCodecConfig.SAMPLE_RATE_192000

Returns

the same Builder instance. This value cannot be null.

Attributes

Remarks

Set sample rate for Bluetooth codec config.

Android reference for android.bluetooth.BluetoothCodecConfig.Builder.setSampleRate.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to