Instance Property

isSpeaking

A Boolean value that indicates whether the synthesizer is speaking.

Declaration

var isSpeaking: Bool { get }

Discussion

Returns true if the synthesizer is speaking or has utterances enqueued to speak, even if it is currently paused. Returns false if the synthesizer has finished speaking all utterances in its queue or if it has not yet been given an utterance to speak.

See Also

Controlling Speech Synthesis

func continueSpeaking() -> Bool

Continues speech from the point at which it left off.

func pauseSpeaking(at: AVSpeechBoundary) -> Bool

Pauses speech at the specified boundary constraint.

var isPaused: Bool

A Boolean value that indicates whether speech has been paused.

func stopSpeaking(at: AVSpeechBoundary) -> Bool

Stops all speech at the specified boundary constraint.