Optional
aInstancePtr: objectA run time mechanism for interface discovery.
NS_OK if the interface is supported by the associated instance, NS_NOINTERFACE if it is not.
aInstancePtr must not be null.
[in] A requested interface IID
[out] A pointer to an interface pointer to receive the result.
Speak the given text using the voice identified byu the given uri. See W3C Speech API spec for information about pitch and rate. https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#utterance-attributes
text to utter.
unique voice identifier.
volume to speak voice in. Only relevant for indirect audio.
rate to speak voice in.
pitch to speak voice in.
task instance for utterance, used for sending events or audio data back to browser.
Generated using TypeDoc
The main interface of a speech synthesis service.
A service is responsible for outputting audio. The service dispatches events, starting with dispatchStart() and ending with dispatchEnd or dispatchError(). A service must also respond with the currect actions and events in response to implemented callback methods.