stopSpeaking(at:)
Stops speech at the boundary you specify.
Declaration
func stopSpeaking(at boundary: AVSpeechBoundary) -> BoolParameters
- boundary:
An enumeration that describes whether to stop speech immediately or only after the synthesizer finishes speaking the current word.
Return Value
Discussion
Unlike pausing a speech synthesizer, which can resume after a pause, stopping the synthesizer immediately cancels speech and removes all unspoken utterances from the synthesizer’s queue.