diff options
author | Charles Chen <clchen@google.com> | 2009-07-02 10:41:51 -0700 |
---|---|---|
committer | Charles Chen <clchen@google.com> | 2009-07-02 11:29:26 -0700 |
commit | 99a0feecd0f0aad314d7a4637d329b8a9e8c1150 (patch) | |
tree | ebabb368763e275416a58f6ea2cd3fb949d3e076 /core | |
parent | 7de4bd9b40d80fd68fc746efd645e3df7442acea (diff) | |
download | frameworks_base-99a0feecd0f0aad314d7a4637d329b8a9e8c1150.zip frameworks_base-99a0feecd0f0aad314d7a4637d329b8a9e8c1150.tar.gz frameworks_base-99a0feecd0f0aad314d7a4637d329b8a9e8c1150.tar.bz2 |
Adding strings for data root and data files - these are needed
for returning this information in an Intent from checkVoiceData.
Diffstat (limited to 'core')
-rwxr-xr-x | core/java/android/speech/tts/TextToSpeech.java | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/core/java/android/speech/tts/TextToSpeech.java b/core/java/android/speech/tts/TextToSpeech.java index b245713..714429d 100755 --- a/core/java/android/speech/tts/TextToSpeech.java +++ b/core/java/android/speech/tts/TextToSpeech.java @@ -118,7 +118,12 @@ public class TextToSpeech { public static final int CHECK_VOICE_DATA_BAD_DATA = -1; public static final int CHECK_VOICE_DATA_MISSING_DATA = -2; public static final int CHECK_VOICE_DATA_MISSING_DATA_NO_SDCARD = -3; - + + // return codes for a TTS engine's check data activity + public static final String VOICE_DATA_ROOT_DIRECTORY = "dataRoot"; + public static final String VOICE_DATA_FILES = "dataFiles"; + public static final String VOICE_DATA_FILES_INFO = "dataFilesInfo"; + // keys for the parameters passed with speak commands public static final String TTS_KEY_PARAM_RATE = "rate"; public static final String TTS_KEY_PARAM_LANGUAGE = "language"; |