Instance Method

speechSynthesizer:didFinishSpeechUtterance:

Tells the delegate when the synthesizer has finished speaking an utterance.

Declaration

- (void)speechSynthesizer:(AVSpeechSynthesizer *)synthesizer didFinishSpeechUtterance:(AVSpeechUtterance *)utterance;

Parameters

synthesizer

The synthesizer speaking the utterance that this message applies to.

utterance

The utterance that has finished being spoken.

Discussion

This message is sent immediately when speech ends; it is not postponed if the final utterance’s postUtteranceDelay is greater than zero.

See Also

Responding to Speech Synthesis Events

- speechSynthesizer:didCancelSpeechUtterance:

Tells the delegate when the synthesizer has canceled speaking an utterance.

- speechSynthesizer:didContinueSpeechUtterance:

Tells the delegate when the synthesizer has resumed speaking an utterance after being paused.

- speechSynthesizer:didPauseSpeechUtterance:

Tells the delegate when the synthesizer has paused while speaking an utterance.

- speechSynthesizer:didStartSpeechUtterance:

Tells the delegate when the synthesizer has begun speaking an utterance.

- speechSynthesizer:willSpeakRangeOfSpeechString:utterance:

Tells the delegate when the synthesizer is about to speak a portion of an utterance’s text.