Interface IUtteranceBuilder
interface IUtteranceBuilder
Extends com.amazon.apmf.IStandard
IUtteranceBuilder is a deprecated interface that allows building a concrete
instance of IUtterance. Use IUtteranceBuilder2 instead of this one.
Methods
inputText()
Sets the input text for the speech synthesis.IUtteranceBuilder*inputText(stringtext)
Parameters
text
string — Required
The text of utterance.
Returns
IUtteranceBuilder*
An instance of currently used builder.
inputFormatType()
Defines the input format for the speech synthesis.IUtteranceBuilder*inputFormatType(InputFormatType*format)
Parameters
format
InputFormatType* — Required
The format of input text.
Returns
IUtteranceBuilder*
An instance of currently used builder.
speechAtrributes()
Deprecated. Use IUtternaceBuilder2::speechAttributes() instead.IUtteranceBuilder*speechAtrributes(SpeechAttributes*attrs)
Parameters
attrs
SpeechAttributes* — Required
The instance of speech attributes.
Returns
IUtteranceBuilder*
An instance of currently used builder.
build()
Builds and returns an instance of IUtterance with the given configurations.IUtterance*build()
Returns
IUtterance*
An instance of IUtterance built with options provided earlier
to the builder.

