![]() |
SRCancelRecognition |
||||
Header: | SpeechRecognition.h | Carbon status: | Supported | |
Cancels the attempt to recognize the current utterance.
OSErr SRCancelRecognition ( SRRecognizer recognizer );
A recognizer.
A result code.
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).
Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
© 2000 Apple Computer, Inc. (Last Updated 7/10/2000)