Important: The information in this document is obsolete and should not be used for new development.
SRCancelRecognition
You can use theSRCancelRecognition
function to have a recognizer cancel the attempt to recognize the current utterance.
pascal OSErr SRCancelRecognition (SRRecognizer recognizer);
recognizer
- A recognizer.
DESCRIPTION
TheSRCancelRecognition
function instructs the recognizer specified by therecognizer
parameter to stop recognizing speech. You need to call eitherSRContinueRecognition
orSRCancelRecognition
each 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.