Contents

speechSynthesizer(_:didFinish:)

Tells the delegate when the synthesizer finishes speaking an utterance.

Declaration

optional func speechSynthesizer(_ synthesizer: AVSpeechSynthesizer, didFinish utterance: AVSpeechUtterance)

Parameters

  • synthesizer:

    The speech synthesizer that finishes speaking the utterance.

  • utterance:

    The utterance that the speech synthesizer finishes speaking.

Discussion

The system ignores the final utterance’s postUtteranceDelay and calls this method immediately when speech ends.

See Also

Responding to speech synthesis events