saiAsrGetRecognitionStartTimer

Retrieves whether the recognizer starts its no-input timer at the beginning of the recognizer session or waits for a call to saiStartTimerRecognizer. For more information, refer to Implementing a barge-in enabled prompt.

Prototype

DWORD saiAsrGetRecognitionStartTimer ( SAI_RECOGNIZER_HANDLE recogHd, BOOL *value )

Argument

Description

recogHd

Handle associated with a recognizer resource.

value

Pointer to one of the following values:

  • TRUE: Recognizer starts its no-input timer when the application calls saiStartRecognizer.

  • FALSE: Recognizer starts its no-input timer when the application calls saiStartTimerRecognizer.


Return values

Return value

Description

SUCCESS

 

SAIERR_INVALID_PARAMETER

One of the specified arguments is invalid.

SAIERR_UNSUPPORTED_SPEECH_PARAMETER

Recognizer engine does not support the specified parameter.


See also

saiAsrSetRecognitionStartTimer