Carbon


SRCancelRecognition

Header: SpeechRecognition.h Carbon status: Supported

Cancels the attempt to recognize the current utterance.

OSErr SRCancelRecognition (
    SRRecognizer recognizer
);
Parameter descriptions
recognizer

A recognizer.

function result

A result code.

DISCUSSION

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).

AVAILABILITY

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)