SpeechRecognizer::RequestRecognizerUpdate Method (Object^, TimeSpan)
.NET Framework (current version)
Requests that the shared recognizer pause and update its state and provides an offset and a user token for the associated event.
Assembly: System.Speech (in System.Speech.dll)
public: void RequestRecognizerUpdate( Object^ userToken, TimeSpan audioPositionAheadToRaiseUpdate )
Parameters
- userToken
-
Type:
System::Object^
User-defined information that contains information for the operation.
- audioPositionAheadToRaiseUpdate
-
Type:
System::TimeSpan
The offset from the current AudioPosition to delay the request.
The recognizer does not initiate the recognizer update request until the recognizer's RecognizerAudioPosition equals the current AudioPosition plus the value of the audioPositionAheadToRaiseUpdate parameter.
When the recognizer generates the RecognizerUpdateReached event, the UserToken property of the RecognizerUpdateReachedEventArgs contains the value of the userToken parameter.
.NET Framework
Available since 3.0
Available since 3.0
Show: