SpeechRecognitionEngine..::..RequestRecognizerUpdate Method (Object) |
SpeechRecognitionEngine Class See Also Send Feedback |
Requests that the recognizer pauses to update its state and provides a user token for the associated event.
Namespace:
Microsoft.Speech.Recognition
Assembly:
Microsoft.Speech (in Microsoft.Speech.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Sub RequestRecognizerUpdate ( _ userToken As Object _ ) |
Visual Basic (Usage) |
---|
Dim instance As SpeechRecognitionEngine Dim userToken As Object instance.RequestRecognizerUpdate(userToken) |
C# |
---|
public void RequestRecognizerUpdate( Object userToken ) |
Parameters
- userToken
- Type: System..::..Object
User-defined information that contains information for the operation.
Remarks
When the recognizer generates the RecognizerUpdateReached event, the UserToken property of the RecognizerUpdateReachedEventArgs contains the value of the userToken parameter.
To specify an audio position offset, use the RequestRecognizerUpdate(Object, TimeSpan) method.