summaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
authorNarayan Kamath <narayan@google.com>2011-11-11 11:51:07 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2011-11-11 11:51:07 -0800
commite5fe1b302d68a1ca2ee3f16cdcbce276fe3d9776 (patch)
treec39de41e1c801e410668fae3b67d31b09c08ab5f /api
parent99164b4209d9cd37a9389f566ab0beee6363b030 (diff)
parent405fcc87b247d91ce2b54623f351e91b740813c0 (diff)
downloadframeworks_base-e5fe1b302d68a1ca2ee3f16cdcbce276fe3d9776.zip
frameworks_base-e5fe1b302d68a1ca2ee3f16cdcbce276fe3d9776.tar.gz
frameworks_base-e5fe1b302d68a1ca2ee3f16cdcbce276fe3d9776.tar.bz2
am 405fcc87: am 754c72ed: Notifiy callers when a speech synthesis error occurs.
* commit '405fcc87b247d91ce2b54623f351e91b740813c0': Notifiy callers when a speech synthesis error occurs.
Diffstat (limited to 'api')
-rw-r--r--api/current.txt10
1 files changed, 9 insertions, 1 deletions
diff --git a/api/current.txt b/api/current.txt
index 37b888e..a7afa87 100644
--- a/api/current.txt
+++ b/api/current.txt
@@ -18892,7 +18892,8 @@ package android.speech.tts {
method public int playSilence(long, int, java.util.HashMap<java.lang.String, java.lang.String>);
method public deprecated int setEngineByPackageName(java.lang.String);
method public int setLanguage(java.util.Locale);
- method public int setOnUtteranceCompletedListener(android.speech.tts.TextToSpeech.OnUtteranceCompletedListener);
+ method public deprecated int setOnUtteranceCompletedListener(android.speech.tts.TextToSpeech.OnUtteranceCompletedListener);
+ method public int setOnUtteranceProgressListener(android.speech.tts.UtteranceProgressListener);
method public int setPitch(float);
method public int setSpeechRate(float);
method public void shutdown();
@@ -18965,6 +18966,13 @@ package android.speech.tts {
method protected abstract void onSynthesizeText(android.speech.tts.SynthesisRequest, android.speech.tts.SynthesisCallback);
}
+ public abstract class UtteranceProgressListener {
+ ctor public UtteranceProgressListener();
+ method public abstract void onDone(java.lang.String);
+ method public abstract void onError(java.lang.String);
+ method public abstract void onStart(java.lang.String);
+ }
+
}
package android.telephony {