RecognizerUpdateReachedEventArgs.AudioPosition Property

Definition

Gets the audio position associated with the event.

public:
 property TimeSpan AudioPosition { TimeSpan get(); };
public TimeSpan AudioPosition { get; }
member this.AudioPosition : TimeSpan
Public ReadOnly Property AudioPosition As TimeSpan

Property Value

TimeSpan

Returns the location within the speech buffer of a SpeechRecognizer or 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.

Applies to

See also