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.