Stops synthesis in progress at a given boundary.
- macOS 10.5+
Boundary at which to stop speech. The supported bound types are listed in
Pass the constant
NSSpeech to stop immediately, even in the middle of a word. Pass
NSSpeech to stop speech at the end of the current word or sentence, respectively.
If the end of the string being spoken is reached before the specified stopping point, the synthesizer stops at the end of the string without generating an error.