Contents

speechRecognitionTask(_:didFinishSuccessfully:)

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

Declaration

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

Parameters

  • task:

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

  • successfully:

    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