Interface IUtteranceBuilder2
interface IUtteranceBuilder2
Extends com.amazon.apmf.IStandard
IUtteranceBuilder2 is a correct interface that allows building a concrete
instance of IUtterance.
Methods
inputText()
Sets the input text for the speech synthesis.IUtteranceBuilder2*inputText(stringtext)
Parameters
text
string — Required
The text of utterance.
Returns
IUtteranceBuilder2*
An instance of currently used builder.
inputFormatType()
Defines the input format for the speech synthesis.IUtteranceBuilder2*inputFormatType(InputFormatType*format)
Parameters
format
InputFormatType* — Required
The format of input text.
Returns
IUtteranceBuilder2*
An instance of currently used builder.
speechAttributes()
Assigns the speech attributes for the speech synthesis.IUtteranceBuilder2*speechAttributes(SpeechAttributes*attrs)
Parameters
attrs
SpeechAttributes* — Required
The instance of speech attributes.
Returns
IUtteranceBuilder2*
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.

