Partager via


RecognizerIntent.ExtraAudioSourceEncoding Field

Definition

Optional integer (from android.media.AudioFormat), to be used with #EXTRA_AUDIO_SOURCE, to indicate the audio encoding.

[Android.Runtime.Register("EXTRA_AUDIO_SOURCE_ENCODING", ApiSince=33)]
public const string ExtraAudioSourceEncoding;
[<Android.Runtime.Register("EXTRA_AUDIO_SOURCE_ENCODING", ApiSince=33)>]
val mutable ExtraAudioSourceEncoding : string

Field Value

Attributes

Remarks

Optional integer (from android.media.AudioFormat), to be used with #EXTRA_AUDIO_SOURCE, to indicate the audio encoding. The default value is android.media.AudioFormat#ENCODING_PCM_16BIT.

Java documentation for android.speech.RecognizerIntent.EXTRA_AUDIO_SOURCE_ENCODING.

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