diff options
author | Jean-Michel Trivi <jmtrivi@google.com> | 2009-08-11 18:11:19 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2009-08-11 18:11:19 -0700 |
commit | 8e235b7bac7c94a43fa67c7640b17ad43d6a4774 (patch) | |
tree | 411ed5594c5f63c7059728ab7243802f17e6179d /core/java/android | |
parent | 6a332cf7a011f524dd80dab0bd699ec8c24d18fd (diff) | |
parent | 1e1b6b7245a0a9212aa3b0366e7919f114895306 (diff) | |
download | frameworks_base-8e235b7bac7c94a43fa67c7640b17ad43d6a4774.zip frameworks_base-8e235b7bac7c94a43fa67c7640b17ad43d6a4774.tar.gz frameworks_base-8e235b7bac7c94a43fa67c7640b17ad43d6a4774.tar.bz2 |
am 1e1b6b72: Merge change 20514 into donut
Merge commit '1e1b6b7245a0a9212aa3b0366e7919f114895306'
* commit '1e1b6b7245a0a9212aa3b0366e7919f114895306':
Fix bug 2022435.
Diffstat (limited to 'core/java/android')
-rwxr-xr-x | core/java/android/speech/tts/TextToSpeech.java | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/core/java/android/speech/tts/TextToSpeech.java b/core/java/android/speech/tts/TextToSpeech.java index b033c6a..04a0ec8 100755 --- a/core/java/android/speech/tts/TextToSpeech.java +++ b/core/java/android/speech/tts/TextToSpeech.java @@ -189,6 +189,12 @@ public class TextToSpeech { "android.speech.tts.engine.INSTALL_TTS_DATA"; /** + * {@hide} + */ + @SdkConstant(SdkConstantType.BROADCAST_INTENT_ACTION) + public static final String ACTION_TTS_DATA_INSTALLED = + "android.speech.tts.engine.TTS_DATA_INSTALLED"; + /** * Broadcast Action: Starts the activity from the platform Text-To-Speech * engine to verify the proper installation and availability of the * resource files on the system. Upon completion, the activity will @@ -233,6 +239,16 @@ public class TextToSpeech { */ public static final String EXTRA_VOICE_DATA_FILES_INFO = "dataFilesInfo"; + // extras for a TTS engine's data installation + /** + * Extra information received with the {@link #ACTION_TTS_DATA_INSTALLED} intent + * which indicates whether the TTS data installation requested with + * {@link #ACTION_INSTALL_TTS_DATA} completed successfully or not. The value is + * {@link TextToSpeech#SUCCESS} or {@link TextToSpeech#ERROR}. + * {@hide} + */ + public static final String EXTRA_TTS_DATA_INSTALLED = "dataInstalled"; + // keys for the parameters passed with speak commands. Hidden keys are used internally // to maintain engine state for each TextToSpeech instance. /** |