speechRecognitionTask(_:didFinishRecognition:)
Tells the delegate when the final utterance is recognized.
Declaration
optional func speechRecognitionTask(_ task: SFSpeechRecognitionTask, didFinishRecognition recognitionResult: SFSpeechRecognitionResult)Parameters
- task:
The speech recognition task (an Sfspeechrecognitiontask object) that represents the request.
- recognitionResult:
A recognized utterance that contains one or more transcription hypotheses in an Sfspeechrecognitionresult object.
Discussion
When this method is called, the delegate should expect no further information about the utterance to be reported.