다음을 통해 공유


RecognizerIntent.ExtraLanguageSwitchInitialActiveDurationTimeMillis Field

Definition

Optional integer to use for #EXTRA_ENABLE_LANGUAGE_SWITCH.

[Android.Runtime.Register("EXTRA_LANGUAGE_SWITCH_INITIAL_ACTIVE_DURATION_TIME_MILLIS", ApiSince=35)]
public const string ExtraLanguageSwitchInitialActiveDurationTimeMillis;
[<Android.Runtime.Register("EXTRA_LANGUAGE_SWITCH_INITIAL_ACTIVE_DURATION_TIME_MILLIS", ApiSince=35)>]
val mutable ExtraLanguageSwitchInitialActiveDurationTimeMillis : string

Field Value

Attributes

Remarks

Optional integer to use for #EXTRA_ENABLE_LANGUAGE_SWITCH. If set, the language switch will only be activated for this value of ms of audio since the START_OF_SPEECH. This could provide a more stable recognition result when the language switch is only required in the beginning of the session.

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

Java documentation for android.speech.RecognizerIntent.EXTRA_LANGUAGE_SWITCH_INITIAL_ACTIVE_DURATION_TIME_MILLIS.

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