AudioSignalProblemOccurredEventArgs.RecognizerAudioPosition Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets the position in the audio input that the recognizer has received that indicates where the problem occurred.

Namespace:   System.Speech.Recognition
Assembly:  System.Speech (in System.Speech.dll)

public TimeSpan RecognizerAudioPosition { get; }

Property Value

Type: System.TimeSpan

The position in the audio input that the recognizer has received when the AudioSignalProblemOccurred event was raised.

The AudioPosition property references the input device's position in its generated audio stream. By contrast, the RecognizerAudioPosition property references the recognizer's position within its audio input. These positions can be different. For more information, see Using Speech Recognition Events.

.NET Framework
Available since 3.0
Return to top
Show: