Important: The information in this document is obsolete and should not be used for new development.
SRCancelRecognition
You can use theSRCancelRecognitionfunction to have a recognizer cancel the attempt to recognize the current utterance.
pascal OSErr SRCancelRecognition (SRRecognizer recognizer);
recognizer- A recognizer.
DESCRIPTION
TheSRCancelRecognitionfunction instructs the recognizer specified by therecognizerparameter to stop recognizing speech. You need to call eitherSRContinueRecognitionorSRCancelRecognitioneach time your application is notified that the user has started speaking (using Apple events or through an application-defined callback routine). See Listing 1-9 on page 1-25 for information on how to request such a notification.