summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorAndroid (Google) Code Review <android-gerrit@google.com>2009-07-06 11:02:40 -0700
committerThe Android Open Source Project <initial-contribution@android.com>2009-07-06 11:02:40 -0700
commit6375cf73a6030d5b5606b3ae5d3236c1b86d5bd8 (patch)
treeb312d50008ec5b8a27f774d1df1239b937396042 /core
parentfee47b699f51e52d3551c0fdbcc9fc2760a0d837 (diff)
parenta642e313988ec7f9e732ead00edbded8b57d7452 (diff)
downloadframeworks_base-6375cf73a6030d5b5606b3ae5d3236c1b86d5bd8.zip
frameworks_base-6375cf73a6030d5b5606b3ae5d3236c1b86d5bd8.tar.gz
frameworks_base-6375cf73a6030d5b5606b3ae5d3236c1b86d5bd8.tar.bz2
am a642e313: Merge change 6090 into donut
Merge commit 'a642e313988ec7f9e732ead00edbded8b57d7452' * commit 'a642e313988ec7f9e732ead00edbded8b57d7452': Adding strings for data root and data files - these are needed
Diffstat (limited to 'core')
-rwxr-xr-xcore/java/android/speech/tts/TextToSpeech.java7
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";