Interface IUtterance
interface IUtterance
Extends com.amazon.apmf.IStandard
IUtterance is an interface representing a single unit of speech synthesis.
This interface provides methods to retrieve input details and speech attributes.
Methods
getInput()
Fetches the utterance input details for the voice synthesis request.UtteranceInput*getInput()
Returns
UtteranceInput*
An UtteranceInput object encompassing the textual input
details for the speech synthesis.
getSpeechAttributes()
Fetches the speech attributes connected with the voice synthesis request.SpeechAttributes*getSpeechAttributes()
Returns
SpeechAttributes*
An SpeechAttributes object offering default values for the
speech synthesis request.
getSpeechStream()
Fetches the Speech Stream associated with the utterance request.ISpeechStream*getSpeechStream()
Returns
ISpeechStream*
The ISpeechStream object enabling access to synthesized speech.
addUtteranceProgressListener()
Registers a listener to receive notifications of utterance request progress.com.amazon.apmf.ISubscription*addUtteranceProgressListener(IUtteranceProgressListener*utteranceProgressListener)
Parameters
utteranceProgressListener
IUtteranceProgressListener* — Required
The IUtteranceProgressListener to register.
Returns
com.amazon.apmf.ISubscription*
An instance of ISubscription that can be used to cancel the listener
from being called back during utterance progress.

