public static class TtsSpan.TextBuilder extends TtsSpan.SemioticClassBuilder<TtsSpan.TextBuilder>
TtsSpan.TYPE_TEXT
.Constructor and Description |
---|
TextBuilder()
Creates a builder for a TtsSpan of type
TtsSpan.TYPE_TEXT . |
TextBuilder(String text)
Creates a TtsSpan of type
TtsSpan.TYPE_TEXT and sets the
TtsSpan.ARG_TEXT argument. |
Modifier and Type | Method and Description |
---|---|
TtsSpan.TextBuilder |
setText(String text)
Sets the
TtsSpan.ARG_TEXT argument, the text to be synthesized. |
setAnimacy, setCase, setGender, setMultiplicity
build, setIntArgument, setLongArgument, setStringArgument
public TextBuilder()
TtsSpan.TYPE_TEXT
.public TextBuilder(String text)
TtsSpan.TYPE_TEXT
and sets the
TtsSpan.ARG_TEXT
argument.text
- The text to be synthesized.setText(String)
public TtsSpan.TextBuilder setText(String text)
TtsSpan.ARG_TEXT
argument, the text to be synthesized.text
- The string that will be synthesized.