pauseSpeaking(at:)
Pauses speech at the boundary you specify.
Declaration
func pauseSpeaking(at boundary: AVSpeechBoundary) -> BoolParameters
- boundary:
An enumeration that describes whether to pause speech immediately or only after the synthesizer finishes speaking the current word.
Return Value
Discussion
The boundary parameter also affects how the speech synthesizer resumes speaking text after a pause and call to continueSpeaking(). If the boundary is AVSpeechBoundary.immediate, speech resumes from the exact point where it pauses, even if that point occurs in the middle of speaking a word. If the boundary is AVSpeechBoundary.word, speech resumes from the word that follows the last spoken word where it pauses.