Contents

speechRecognitionTask(_:didProcessAudioDuration:)

Tells the delegate how much audio has been processed by the task.

Declaration

optional func speechRecognitionTask(_ task: SFSpeechRecognitionTask, didProcessAudioDuration duration: TimeInterval)

Parameters

  • task:

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

  • duration:

    The seconds of audio input that the recognizer has processed.

See Also

Finishing a speech recognition task