Dela via


SpeechRecognizer.RecognizerAudioPosition Property

Definition

Gets the current location of the recognizer in the audio input that it is processing.

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

Property Value

The position of the recognizer in the audio input that it is processing.

Remarks

The RecognizerAudioPosition property references the recognizer's position in processing its audio input. By contrast, the AudioPosition property references the input device's position in its generated audio stream. These positions can be different. For example, if the recognizer has received input for which it has not yet generated a recognition result then the value of the RecognizerAudioPosition property is less than the value of the AudioPosition property.

Applies to

See also