Instance Method


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


optional func speechRecognitionTask(_ task: SFSpeechRecognitionTask, didFinishSuccessfully successfully: Bool)



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


A Boolean value that indicates whether the task was successful. When this parameter is false, use the error property of the task to get information about why the task was unsuccessful.

See Also

Finishing a Speech Recognition Task

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