Contents

speechSynthesizer(_:didPause:)

Tells the delegate when the synthesizer pauses while speaking an utterance.

Declaration

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

Parameters

  • synthesizer:

    The speech synthesizer that pauses speaking the utterance.

  • utterance:

    The utterance that the speech synthesizer pauses speaking.

Discussion

The system only calls this method if a speech synthesizer is speaking an utterance and the system calls its pauseSpeaking(at:) method. The system doesn’t call this method if the synthesizer is in a delay between utterances when speech pauses.

See Also

Responding to speech synthesis events