Instance Method

speechRecognitionTaskWasCancelled(_:)

Tells the delegate that the task has been canceled.

Declaration

optional func speechRecognitionTaskWasCancelled(_ task: SFSpeechRecognitionTask)

Parameters

task

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

Discussion

A speech recognition task can be canceled by the user, by your app, or by the system.

See Also

Finishing a Speech Recognition Task

func speechRecognitionTask(SFSpeechRecognitionTask, didFinishSuccessfully: Bool)

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

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