Share via


SpeechRecognitionUIStatus Enum

Definition

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:

  • The speech recognizer GUI was interrupted by a phone call.
  • The speech recognizer GUI was superceded by an invocation of the phone's speech feature.
PrivacyPolicyDeclined 4

The user declined the privacy policy.

Applies to