Interface TTSEngine
- 
public interface TTSEngine 
- 
- 
Method Summary
All 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
- 
getId
java.lang.String getId()
Returns an identifier that can be used to reference this particular engine. 
- 
initialize
void initialize() throws java.lang.Exception- Throws:
 java.lang.Exception
 
- 
shutdown
void shutdown()
 
- 
getSupportedVoices
java.util.List<TTSVoiceDescriptor> getSupportedVoices()
Returns the various locales that the engine can handle text for. In other words, which languages it supports. 
- 
getTalker
TTSTalker 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
 
 - 
 
 -