Instance Method


Tells the delegate when the final utterance is recognized.


optional func speechRecognitionTask(_ task: SFSpeechRecognitionTask, didFinishRecognition recognitionResult: SFSpeechRecognitionResult)



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


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


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

func speechRecognitionTask(SFSpeechRecognitionTask, didFinishSuccessfully: Bool)

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

func speechRecognitionTaskWasCancelled(SFSpeechRecognitionTask)

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