SpeechRecognizer.LanguageSwitchResult Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Key used to retrieve the result of the language switch of the most recent audio chunk,
represented by an int
value prefixed by LANGUAGE_SWITCH_
.
[Android.Runtime.Register("LANGUAGE_SWITCH_RESULT", ApiSince=34)]
public const string LanguageSwitchResult;
[<Android.Runtime.Register("LANGUAGE_SWITCH_RESULT", ApiSince=34)>]
val mutable LanguageSwitchResult : string
Field Value
- Attributes
Remarks
Key used to retrieve the result of the language switch of the most recent audio chunk, represented by an int
value prefixed by LANGUAGE_SWITCH_
.
This info is returned to the client in the Bundle
passed to the RecognitionListener#onLanguageDetection(Bundle)
only if RecognizerIntent#EXTRA_ENABLE_LANGUAGE_SWITCH
is set.
Java documentation for android.speech.SpeechRecognizer.LANGUAGE_SWITCH_RESULT
.
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.