Conforms to NSObject
Declared in ISSpeechSynthesis.h

Overview

Delegate protocol for ISSpeechSynthesis.

All methods are optional.

Tasks

Instance Methods

synthesis:didFailWithError:

Something went wrong with the speech synthesis. Usually this is used for errors returned by the server.

- (void)synthesis:(ISSpeechSynthesis *)speechSynthesis didFailWithError:(NSError *)error

Parameters

speechSynthesis

The speech synthesis object that the error occurred on.

error

The acutal error. Errors from the SDK internals will have the error domain of iSpeechErrorDomain. You may get some URL connection errors if something happens with the network.

Declared In

ISSpeechSynthesis.h

synthesisDidFinishSpeaking:userCancelled:

The specified speech synthesis isntance finished speaking, either on its own or because the user cancelled it.

- (void)synthesisDidFinishSpeaking:(ISSpeechSynthesis *)speechSynthesis userCancelled:(BOOL)userCancelled

Parameters

speechSynthesis

The speech synthesis object that finished speaking.

userCancelled

Whether the user was responsible for cancelling the speech synthesis, usually by tapping the “Cancel” button on the dialog.

Declared In

ISSpeechSynthesis.h

synthesisDidStartSpeaking:

The specified speech synthesis instance started speaking. Audio is now playing.

- (void)synthesisDidStartSpeaking:(ISSpeechSynthesis *)speechSynthesis

Parameters

speechSynthesis

The speech synthesis object that is speaking.

Declared In

ISSpeechSynthesis.h