SpeechRecognizer.AudioCaptureStateChanged event

Bing
 

The AudioCaptureStateChanged event is raised when the current speech recognition session moves from one state to another.

public event Windows.Foundation.TypedEventHandler<SpeechRecognizer,SpeechRecognitionAudioCaptureStateChangedEventArgs> AudioCaptureStateChanged

Use this event to signal UI changes in your speech controls to reflect the current state of the capture process.

The SpeechRecognitionAudioCaptureStateChangedEventArgs object associated with this event contains a SpeechRecognizerAudioCaptureState enumeration value that specifies the current state. For a list of valid states, see the SpeechRecognizerAudioCaptureState enumeration documentation.

Example

The following code example prints status information to a TextBlock named StatusBar.

No code example is currently available or this language may not be supported.

Requirements

Minimum Supported Client

Windows 8

Required Extensions

Bing.Speech

Namespace

Bing.Speech

Show: