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.