Share via


RecognizerIntent.ExtraLanguageDetectionAllowedLanguages Field

Definition

Optional list of IETF language tags (as defined by BCP 47, e.

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

Field Value

Attributes

Remarks

Optional list of IETF language tags (as defined by BCP 47, e.g. "en-US", "de-DE"). This extra is to be used with #EXTRA_ENABLE_LANGUAGE_DETECTION. If set, the recognizer will constrain the language detection output to this list of languages, potentially improving detection accuracy.

Java documentation for android.speech.RecognizerIntent.EXTRA_LANGUAGE_DETECTION_ALLOWED_LANGUAGES.

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