summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
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";