ttsEngine property
JSTtsEngine
get
ttsEngine
Use the chrome.ttsEngine
API to implement a text-to-speech(TTS) engine
using an extension. If your extension registers using this API, it will
receive events containing an utterance to be spoken and other parameters
when any extension or Chrome App uses the tts API to generate
speech. Your extension can then use any available web technology to
synthesize and output the speech, and send events back to the calling
function to report the status.
Implementation
JSTtsEngine get ttsEngine {
var ttsEngineNullable = this.ttsEngineNullable;
if (ttsEngineNullable == null) {
throw ApiNotAvailableException('chrome.ttsEngine');
}
return ttsEngineNullable;
}