texttospeech.init()


Type Function

Return value none

See also texttospeech.*


Overview

Must be callled before you try to synthesize any audio.

Syntax 1

texttospeech.init([listener])

listener optional

Listener. Listener which receives the init event.

Syntax 2

texttospeech.init([params])

params required

Table. Contains parameters for the call — see the next section for details.

Parameter Reference

The params table includes parameters for the call.

engine optional ~(Android)~

String. Speech engine identifier. If supplied, the specified engine will be loaded. Call texttospeech.init() again to change the engine.

listener optional

Listener. Listener which receives the init event.