Language

BluetoothLeAudioCodecConfig.Builder.SetSampleRate(Int32) メソッド

定義

BLUETOOTH LE オーディオ コーデック構成のサンプル レートを設定します。

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

パラメーター

sampleRate
Int32

このコーデックの 値は 0 または次の組み合わせのいずれかです: BluetoothLeAudioCodecConfig.SAMPLE_RATE_NONE;BluetoothLeAudioCodecConfig.SAMPLE_RATE_8000;BluetoothLeAudioCodecConfig.SAMPLE_RATE_11025;BluetoothLeAudioCodecConfig.SAMPLE_RATE_16000;BluetoothLeAudioCodecConfig.SAMPLE_RATE_22050;BluetoothLeAudioCodecConfig.SAMPLE_RATE_24000;BluetoothLeAudioCodecConfig.SAMPLE_RATE_32000;BluetoothLeAudioCodecConfig.SAMPLE_RATE_44100;BluetoothLeAudioCodecConfig.SAMPLE_RATE_48000;BluetoothLeAudioCodecConfig.SAMPLE_RATE_88200;BluetoothLeAudioCodecConfig.SAMPLE_RATE_96000;BluetoothLeAudioCodecConfig.SAMPLE_RATE_176400;BluetoothLeAudioCodecConfig.SAMPLE_RATE_192000;BluetoothLeAudioCodecConfig.SAMPLE_RATE_384000

返品

同じ Builder インスタンス。 この値は null にすることはできません。

属性

注釈

BLUETOOTH LE オーディオ コーデック構成のサンプル レートを設定します。

android.bluetooth.BluetoothLeAudioCodecConfig.Builder.setSampleRateの Android リファレンス。

このページの一部は、Androidオープンソースプロジェクトによって作成および共有された作業に基づく変更でありCreative Commons 2.5属性ライセンスに記載されている条件に従って使用されます。

適用対象