LanguageSwitchResult Enum
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.
Specifies the result of an automatic speech recognition language switch.
public enum LanguageSwitchResult
type LanguageSwitchResult =
- Inheritance
-
LanguageSwitchResult
Fields
| Name | Value | Description |
|---|---|---|
| NotAttempted | 0 | Switch not attempted. Android reference for 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. |
| Succeeded | 1 | Switch attempted and succeeded. Android reference for 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. |
| Failed | 2 | Switch attempted and failed. Android reference for 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. |
| SkippedNoModel | 3 | Switch skipped because the language model is missing or the language is not allowlisted for auto switch. Android reference for 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. |
Remarks
These values identify whether a language switch was not attempted, succeeded, failed, or was skipped because a model was missing or the language was not allowed for automatic switching.