Contents

speechSynthesizer(_:willSpeak:utterance:)

Tells the delegate when the synthesizer is about to speak a marker of an utterance’s text.

Declaration

optional func speechSynthesizer(_ synthesizer: AVSpeechSynthesizer, willSpeak marker: AVSpeechSynthesisMarker, utterance: AVSpeechUtterance)

Parameters

  • synthesizer:

    The speech synthesizer that’s about to speak a marker of an utterance.

  • marker:

    The synthesized audio that the speech synthesizer is about to speak.

  • utterance:

    The utterance that the speech synthesizer pauses speaking.

See Also

Responding to speech synthesis events