Important: The information in this document is obsolete and should not be used for new development.
SRProcessEnd
You can use theSRProcessEndfunction to indicate that a recognition result is done being processed.
pascal OSErr SRProcessEnd (SRRecognizer recognizer, Boolean failed);
recognizer- A recognizer.
failed- A Boolean value that determines how the feedback gestures are to be altered (
FALSE) or not (TRUE).DESCRIPTION
TheSRProcessEndfunction causes the Speech Recognition Manager to provide the relevant feedback (in the feedback window associated with the recognizer specified by therecognizerparameter) indicating that a recognition result is done being processed. Currently, the gestures of the feedback character are changed and a response sound is played.SPECIAL CONSIDERATIONS
If the value of thekSRWantsAutoFBGesturesproperty of the specified recognizer isTRUE, the Speech Recognition Manager callsSRProcessBegininternally before notifying your application of a recognition result, and it callsSRProcessEndinternally after your application is notified. As a result, you should callSRProcessBeginorSRProcessEndonly when the value of the recognizer'skSRWantsAutoFBGesturesproperty isFALSE.Because the default value of the
kSRWantsAutoFBGesturesproperty isTRUE, most applications don't need to callSRProcessBegin. CallingSRProcessBeginis useful, however, when you know the resulting action might take a significant amount of time.