Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Speech Recognition Manager /
Chapter 1 - Speech Recognition Manager / Speech Recognition Manager Reference
Speech Recognition Manager Routines / Creating and Manipulating Recognizers


SRCancelRecognition

You can use the SRCancelRecognition function to have a recognizer cancel the attempt to recognize the current utterance.

pascal OSErr SRCancelRecognition (SRRecognizer recognizer);
recognizer
A recognizer.
DESCRIPTION
The SRCancelRecognition function instructs the recognizer specified by the recognizer parameter to stop recognizing speech. You need to call either SRContinueRecognition or SRCancelRecognition 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.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
22 JAN 1997