Contents

speechSynthesizer(_:didFinishSpeaking:)

Sent when an Nsspeechsynthesizer object finishes speaking through the sound output device.

Declaration

@MainActor optional func speechSynthesizer(_ sender: NSSpeechSynthesizer, didFinishSpeaking finishedSpeaking: Bool)

Parameters

  • sender:

    An Nsspeechsynthesizer object that has stopped speaking into the sound output device.

  • finishedSpeaking:

    True when speaking completed normally, False if speaking is stopped prematurely for any reason.

See Also

Related Documentation

Synthesizing Speech