Partager via


RecognizerIntent.LanguageSwitchBalanced Field

Definition

A value to use for #EXTRA_ENABLE_LANGUAGE_SWITCH.

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

Field Value

Attributes

Remarks

A value to use for #EXTRA_ENABLE_LANGUAGE_SWITCH.

Enables language switch only when a new language is detected as at least SpeechRecognizer#LANGUAGE_DETECTION_CONFIDENCE_LEVEL_CONFIDENT, which means the service is balancing between detecting a new language confidently and switching early.

Java documentation for android.speech.RecognizerIntent.LANGUAGE_SWITCH_BALANCED.

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