Sdílet prostřednictvím


RecognizerIntent.ExtraEnableLanguageDetection Field

Definition

Optional boolean indicating whether to enable language detection.

[Android.Runtime.Register("EXTRA_ENABLE_LANGUAGE_DETECTION", ApiSince=34)]
public const string ExtraEnableLanguageDetection;
[<Android.Runtime.Register("EXTRA_ENABLE_LANGUAGE_DETECTION", ApiSince=34)>]
val mutable ExtraEnableLanguageDetection : string

Field Value

Attributes

Remarks

Optional boolean indicating whether to enable language detection. When enabled, the recognizer will consistently identify the language of the current spoken utterance and provide that info via RecognitionListener#onLanguageDetection(Bundle).

Depending on the recognizer implementation, this flag may have no effect.

Java documentation for android.speech.RecognizerIntent.EXTRA_ENABLE_LANGUAGE_DETECTION.

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