Modules | Files | Inheritance Tree | Inheritance Graph | Name Index
module GNOME::Speech::Synthesis
interface SynthesizerQueueItem
Files: GNOME_Speech.idl
GNOME-Speech-Synthesis-SynthesizerQueueItem-inheritance GNOME-Speech-SpeechObject.html Bonobo-Unknown.html
Operations Summary:
 voidinitWithSourceAndText(in SpeechObject source, in string text, in boolean plainText, in SpeakableListener listener)
 SpeechObjectgetSource()
SpeakableListenergetSpeakableListener()
 stringgetText()
 booleanisPlainText()

Operations Inherited from Bonobo::Unknown
ref, unref, queryInterface

Operation Details:
 void initWithSourceAndText(in SpeechObject source, in string text, in boolean plainText, in SpeakableListener listener)

Initializes a SynthesizerQueueItem with the source object and speakable text.

Parameters:
source - the source object.
text - the speakable text.
plainText - an indication of whether the text is plain or contains markup.


 SpeechObject getSource()

Return the source object for an item on the speech output queue of a Synthesizer. The source is one of the three object types passed to the speak or speakPlainText methods of Synthesizer: a Speakable objects, a SpeechURL, or a string.

Return:
the source object for an item on the speech output queue.


SpeakableListener getSpeakableListener()

Return the SpeakableListener object for this speech output queue item, or null if none was provided to the speak method.

Return:
the SpeakableListener object for this speech output queue item.


 string getText()

Return the speakable text for an item on the speech output queue of a Synthesizer. The text is either a Java Speech Markup Language string or a plain text string that was obtained from source object.

Return:
the speakable text for an item on the speech output queue.


 boolean isPlainText()

Return true if the item contains plain text (not marked up text).

Return:
a boolean indication of whether this queue item contains plain text.