RecognizerUpdateReachedEventArgs..::..AudioPosition Property |
RecognizerUpdateReachedEventArgs Class See Also Send Feedback |
Gets the audio position associated with the event.
Namespace:
Microsoft.Speech.Recognition
Assembly:
Microsoft.Speech (in Microsoft.Speech.dll)
Syntax
Visual Basic (Declaration) |
---|
Public ReadOnly Property AudioPosition As TimeSpan Get |
Visual Basic (Usage) |
---|
Dim instance As RecognizerUpdateReachedEventArgs Dim value As TimeSpan value = instance.AudioPosition |
C# |
---|
public TimeSpan AudioPosition { get; } |
Property Value
Type: System..::..TimeSpanReturns the location within the speech buffer of a SpeechRecognitionEngine when it pauses and raises a RecognizerUpdateReached event.
Remarks
Applications can use the location indicated by AudioPosition to access audio input that occurred while the recognition engine was paused.