Note
Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.
RecognizerUpdateReachedEventArgs.AudioPosition Property
Gets the audio position associated with the event.
Namespace: Microsoft.Speech.Recognition
Assembly: Microsoft.Speech (in Microsoft.Speech.dll)
Syntax
'Declaration
Public ReadOnly Property AudioPosition As TimeSpan
Get
'Usage
Dim instance As RecognizerUpdateReachedEventArgs
Dim value As TimeSpan
value = instance.AudioPosition
public TimeSpan AudioPosition { get; }
Property Value
Type: System.TimeSpan
Returns 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.
See Also
Reference
RecognizerUpdateReachedEventArgs Class
RecognizerUpdateReachedEventArgs Members