Idioma

BluetoothLeAudioCodecConfig.Builder.SetSampleRate(Int32) Método

Definição

Defina a taxa de exemplo para a configuração de codec de áudio 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

Parâmetros

sampleRate
Int32

deste codec. O valor é 0 ou uma combinação do seguinte: 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

Retornos

a mesma instância do Construtor. Este valor não pode ser nulo.

Atributos

Comentários

Defina a taxa de exemplo para a configuração de codec de áudio BLUETOOTH LE.

Referência do Android para android.bluetooth.BluetoothLeAudioCodecConfig.Builder.setSampleRate.

Partes desta página são modificações baseadas no trabalho criado e compartilhado pelo Project Open Source do Open Source e usadas de acordo com os termos descritos na Creative Commons 2.5.

Aplica-se a