/documentation/tts/com/google/tts/TextToSpeechBeta.OnUtteranceCompletedListener.html

http://eyes-free.googlecode.com/ · HTML · 219 lines · 172 code · 27 blank · 20 comment · 0 complexity · ec1585ace884e5f3f2ba8c9ab224b945 MD5 · raw file

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <!--NewPage-->
  3. <HTML>
  4. <HEAD>
  5. <!-- Generated by javadoc (build 1.6.0_16) on Fri Oct 09 19:06:10 PDT 2009 -->
  6. <TITLE>
  7. TextToSpeechBeta.OnUtteranceCompletedListener
  8. </TITLE>
  9. <META NAME="date" CONTENT="2009-10-09">
  10. <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
  11. <SCRIPT type="text/javascript">
  12. function windowTitle()
  13. {
  14. if (location.href.indexOf('is-external=true') == -1) {
  15. parent.document.title="TextToSpeechBeta.OnUtteranceCompletedListener";
  16. }
  17. }
  18. </SCRIPT>
  19. <NOSCRIPT>
  20. </NOSCRIPT>
  21. </HEAD>
  22. <BODY BGCOLOR="white" onload="windowTitle();">
  23. <HR>
  24. <!-- ========= START OF TOP NAVBAR ======= -->
  25. <A NAME="navbar_top"><!-- --></A>
  26. <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
  27. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  28. <TR>
  29. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  30. <A NAME="navbar_top_firstrow"><!-- --></A>
  31. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  32. <TR ALIGN="center" VALIGN="top">
  33. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../com/google/tts/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  34. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  35. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  36. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  37. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  38. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  39. </TR>
  40. </TABLE>
  41. </TD>
  42. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  43. </EM>
  44. </TD>
  45. </TR>
  46. <TR>
  47. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  48. &nbsp;<A HREF="../../../com/google/tts/TextToSpeechBeta.OnInitListener.html" title="interface in com.google.tts"><B>PREV CLASS</B></A>&nbsp;
  49. &nbsp;<A HREF="../../../com/google/tts/TTS.html" title="class in com.google.tts"><B>NEXT CLASS</B></A></FONT></TD>
  50. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  51. <A HREF="../../../index.html?com/google/tts/TextToSpeechBeta.OnUtteranceCompletedListener.html" target="_top"><B>FRAMES</B></A> &nbsp;
  52. &nbsp;<A HREF="TextToSpeechBeta.OnUtteranceCompletedListener.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  53. &nbsp;<SCRIPT type="text/javascript">
  54. <!--
  55. if(window==top) {
  56. document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
  57. }
  58. //-->
  59. </SCRIPT>
  60. <NOSCRIPT>
  61. <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
  62. </NOSCRIPT>
  63. </FONT></TD>
  64. </TR>
  65. <TR>
  66. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  67. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  68. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  69. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  70. </TR>
  71. </TABLE>
  72. <A NAME="skip-navbar_top"></A>
  73. <!-- ========= END OF TOP NAVBAR ========= -->
  74. <HR>
  75. <!-- ======== START OF CLASS DATA ======== -->
  76. <H2>
  77. <FONT SIZE="-1">
  78. com.google.tts</FONT>
  79. <BR>
  80. Interface TextToSpeechBeta.OnUtteranceCompletedListener</H2>
  81. <DL>
  82. <DT><B>Enclosing class:</B><DD><A HREF="../../../com/google/tts/TextToSpeechBeta.html" title="class in com.google.tts">TextToSpeechBeta</A></DD>
  83. </DL>
  84. <HR>
  85. <DL>
  86. <DT><PRE>public static interface <B>TextToSpeechBeta.OnUtteranceCompletedListener</B></DL>
  87. </PRE>
  88. <P>
  89. Interface definition of a callback to be invoked indicating the
  90. TextToSpeech engine has completed synthesizing an utterance with an
  91. utterance ID set.
  92. <P>
  93. <P>
  94. <HR>
  95. <P>
  96. <!-- ========== METHOD SUMMARY =========== -->
  97. <A NAME="method_summary"><!-- --></A>
  98. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  99. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  100. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  101. <B>Method Summary</B></FONT></TH>
  102. </TR>
  103. <TR BGCOLOR="white" CLASS="TableRowColor">
  104. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  105. <CODE>&nbsp;void</CODE></FONT></TD>
  106. <TD><CODE><B><A HREF="../../../com/google/tts/TextToSpeechBeta.OnUtteranceCompletedListener.html#onUtteranceCompleted(java.lang.String)">onUtteranceCompleted</A></B>(java.lang.String&nbsp;utteranceId)</CODE>
  107. <BR>
  108. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Called to signal the completion of the synthesis of the utterance that
  109. was identified with the string parameter.</TD>
  110. </TR>
  111. </TABLE>
  112. &nbsp;
  113. <P>
  114. <!-- ============ METHOD DETAIL ========== -->
  115. <A NAME="method_detail"><!-- --></A>
  116. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  117. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  118. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  119. <B>Method Detail</B></FONT></TH>
  120. </TR>
  121. </TABLE>
  122. <A NAME="onUtteranceCompleted(java.lang.String)"><!-- --></A><H3>
  123. onUtteranceCompleted</H3>
  124. <PRE>
  125. void <B>onUtteranceCompleted</B>(java.lang.String&nbsp;utteranceId)</PRE>
  126. <DL>
  127. <DD>Called to signal the completion of the synthesis of the utterance that
  128. was identified with the string parameter. This identifier is the one
  129. originally passed in the parameter hashmap of the synthesis request in
  130. <CODE>TextToSpeechBeta#speak(String, int, HashMap)</CODE> or
  131. <CODE>TextToSpeechBeta#synthesizeToFile(String, HashMap, String)</CODE> with
  132. the <A HREF="../../../com/google/tts/TextToSpeechBeta.Engine.html#KEY_PARAM_UTTERANCE_ID"><CODE>TextToSpeechBeta.Engine.KEY_PARAM_UTTERANCE_ID</CODE></A> key.
  133. <P>
  134. <DD><DL>
  135. <DT><B>Parameters:</B><DD><CODE>utteranceId</CODE> - the identifier of the utterance.</DL>
  136. </DD>
  137. </DL>
  138. <!-- ========= END OF CLASS DATA ========= -->
  139. <HR>
  140. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  141. <A NAME="navbar_bottom"><!-- --></A>
  142. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  143. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  144. <TR>
  145. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  146. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  147. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  148. <TR ALIGN="center" VALIGN="top">
  149. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../com/google/tts/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  150. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  151. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  152. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  153. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  154. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  155. </TR>
  156. </TABLE>
  157. </TD>
  158. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  159. </EM>
  160. </TD>
  161. </TR>
  162. <TR>
  163. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  164. &nbsp;<A HREF="../../../com/google/tts/TextToSpeechBeta.OnInitListener.html" title="interface in com.google.tts"><B>PREV CLASS</B></A>&nbsp;
  165. &nbsp;<A HREF="../../../com/google/tts/TTS.html" title="class in com.google.tts"><B>NEXT CLASS</B></A></FONT></TD>
  166. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  167. <A HREF="../../../index.html?com/google/tts/TextToSpeechBeta.OnUtteranceCompletedListener.html" target="_top"><B>FRAMES</B></A> &nbsp;
  168. &nbsp;<A HREF="TextToSpeechBeta.OnUtteranceCompletedListener.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  169. &nbsp;<SCRIPT type="text/javascript">
  170. <!--
  171. if(window==top) {
  172. document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
  173. }
  174. //-->
  175. </SCRIPT>
  176. <NOSCRIPT>
  177. <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
  178. </NOSCRIPT>
  179. </FONT></TD>
  180. </TR>
  181. <TR>
  182. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  183. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  184. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  185. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  186. </TR>
  187. </TABLE>
  188. <A NAME="skip-navbar_bottom"></A>
  189. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  190. <HR>
  191. </BODY>
  192. </HTML>