PageRenderTime 24ms CodeModel.GetById 12ms app.highlight 8ms RepoModel.GetById 1ms app.codeStats 0ms

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