Instance Method

speechRecognitionTask:didFinishRecognition:

Tells the delegate when the final utterance is recognized.

Declaration

- (void)speechRecognitionTask:(SFSpeechRecognitionTask *)task didFinishRecognition:(SFSpeechRecognitionResult *)recognitionResult;

Parameters

task

The speech recognition task (an SFSpeechRecognitionTask object) that represents the request.

recognitionResult

A recognized utterance that contains one or more transcription hypotheses in an SFSpeechRecognitionResult object.

Discussion

When this method is called, the delegate should expect no further information about the utterance to be reported.

See Also

Finishing a Speech Recognition Task

- speechRecognitionTask:didFinishSuccessfully:

Tells the delegate when the recognition of all requested utterances is finished.

- speechRecognitionTaskWasCancelled:

Tells the delegate that the task has been canceled.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software