/tts/src/com/google/tts/ITTS.aidl

http://eyes-free.googlecode.com/ · Android Interface Definition Language · 30 lines · 19 code · 3 blank · 8 comment · 0 complexity · e5f50d5a31049a9a1504e14f9fb47008 MD5 · raw file

  1. // Copyright 2008 Google Inc. All Rights Reserved.
  2. /**
  3. * AIDL for the TTS Service
  4. * ITTS.java is autogenerated from this
  5. *
  6. * @author clchen@google.com (Charles L. Chen)
  7. */
  8. package com.google.tts;
  9. import com.google.tts.ITTSCallback;
  10. // Declare the interface.
  11. interface ITTS {
  12. void setEngine(in String selectedEngine);
  13. void setSpeechRate(in int speechRate);
  14. void speak(in String text, in int queueMode, in String[] params);
  15. boolean isSpeaking();
  16. void stop();
  17. void addSpeech(in String text, in String packageName, in int resId);
  18. void addSpeechFile(in String text, in String filename);
  19. int getVersion();
  20. void setLanguage(in String language);
  21. boolean synthesizeToFile(in String text, in String[] params, in String outputDirectory);
  22. void playEarcon(in String earcon, in int queueMode, in String[] params);
  23. void addEarcon(in String earcon, in String packageName, in int resId);
  24. void addEarconFile(in String earcon, in String filename);
  25. void registerCallback(ITTSCallback cb);
  26. void unregisterCallback(ITTSCallback cb);
  27. }