SpeechRecognitionUIStatus 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.
Indicates the status of the speech recognition session.
public enum class SpeechRecognitionUIStatus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Phone.PhoneContract, 65536)]
enum class SpeechRecognitionUIStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Phone.PhoneContract), 65536)]
public enum SpeechRecognitionUIStatus
var value = Windows.Phone.Speech.Recognition.SpeechRecognitionUIStatus.succeeded
Public Enum SpeechRecognitionUIStatus
- Inheritance
-
SpeechRecognitionUIStatus
- Attributes
Windows requirements
Device family |
Windows Mobile Extension SDK (introduced in 10.0.10240.0)
|
API contract |
Windows.Phone.PhoneContract (introduced in v1.0)
|
App capabilities |
ID_CAP_MICROPHONE [Windows Phone]
ID_CAP_NETWORKING [Windows Phone]
ID_CAP_SPEECH_RECOGNITION [Windows Phone]
|
Fields
Name | Value | Description |
---|---|---|
Succeeded | 0 | Speech recognition succeeded through the default graphical user interface (GUI). |
Busy | 1 | The speech recognizer GUI could not start because the phone’s speech feature was active, or because the app attempted speech recognition while a phone call was in progress. |
Cancelled | 2 | The user manually cancelled the speech recognizer GUI, such as by using the back button. This value is also returned if the user switches out of the app, or if a phone call is received while the GUI is active. |
Preempted | 3 | The Preempted value is returned in the following scenarios:
|
PrivacyPolicyDeclined | 4 | The user declined the privacy policy. |