Instance Method

pauseSpeakingAtBoundary:

Pauses speech at the specified boundary constraint.

Declaration

- (BOOL)pauseSpeakingAtBoundary:(AVSpeechBoundary)boundary;

Parameters

boundary

A constant describing whether speech should pause immediately or only after finishing the word currently being spoken.

Return Value

YES if speech has paused, or NO otherwise.

Discussion

The boundary parameter also affects the manner in which the synthesizer, once paused, continues speech upon a call to continueSpeaking. If paused with boundary constraint AVSpeechBoundaryImmediate, speech continues from exactly the point at which it was paused, even if that point occurred in the middle of pronouncing a word. If paused with AVSpeechBoundaryWord, speech continues from the word following the word on which it was paused.

See Also

Controlling Speech Synthesis

- continueSpeaking

Continues speech from the point at which it left off.

paused

A Boolean value that indicates whether speech has been paused.

speaking

A Boolean value that indicates whether the synthesizer is speaking.

- stopSpeakingAtBoundary:

Stops all speech at the specified boundary constraint.