Class android.speech.tts.TextToSpeech

Removed Methods
int addEarcon(String, String)  
 

Added Methods
int addEarcon(String, File)  
int addEarcon(String, String)  
int addSpeech(CharSequence, File)  
int addSpeech(CharSequence, String, int)  
Set<Locale> getAvailableLanguages()  
Voice getDefaultVoice()  
Voice getVoice()  
Set<Voice> getVoices()  
int playEarcon(String, int, Bundle, String)  
int playSilentUtterance(long, int, String)  
int setAudioAttributes(AudioAttributes)  
int setVoice(Voice)  
int speak(CharSequence, int, Bundle, String)  
int synthesizeToFile(CharSequence, Bundle, File, String)  
 

Changed Methods
boolean areDefaultsEnforced() Now deprecated.
 
Locale getDefaultLanguage() Now deprecated.
 
Set<String> getFeatures(Locale) Now deprecated.
 
Locale getLanguage() Now deprecated.
 
int playSilence(long, int, HashMap<String, String>) Now deprecated.
 
int playEarcon(String, int, HashMap<String, String>) Now deprecated.
 
int speak(String, int, HashMap<String, String>) Now deprecated.
 
int synthesizeToFile(String, HashMap<String, String>, String) Now deprecated.
 
 

Added Fields
int ERROR_INVALID_REQUEST  
int ERROR_NETWORK  
int ERROR_NETWORK_TIMEOUT  
int ERROR_NOT_INSTALLED_YET  
int ERROR_OUTPUT  
int ERROR_SERVICE  
int ERROR_SYNTHESIS  
int STOPPED