Interface TTSEngine
- 
 public interface TTSEngine
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetId()Returns an identifier that can be used to reference this particular engine.java.util.List<TTSVoiceDescriptor>getSupportedVoices()Returns the various locales that the engine can handle text for.TTSTalkergetTalker(TTSVoiceDescriptor desc)Returns aTTSTalkerfor the specified voice that can be used to render text.voidinitialize()voidshutdown()
 
- 
- 
- 
Method Detail- 
getIdjava.lang.String getId() Returns an identifier that can be used to reference this particular engine.
 - 
initializevoid initialize() throws java.lang.Exception- Throws:
- java.lang.Exception
 
 - 
shutdownvoid shutdown() 
 - 
getSupportedVoicesjava.util.List<TTSVoiceDescriptor> getSupportedVoices() Returns the various locales that the engine can handle text for. In other words, which languages it supports.
 - 
getTalkerTTSTalker getTalker(TTSVoiceDescriptor desc) Returns aTTSTalkerfor the specified voice that can be used to render text. This function must be provided with a qualified VoiceDescriptor that matches one of the values returned from getSupportedVoices(). If you need fuzzy support, call TTSEngineManager.getTalker()- Parameters:
- desc- the voice descriptor to use. Must exist, otherwise IllegalArgument will be thrown
 
 
- 
 
-