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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software