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.