/documentation/tts/com/google/tts/TTSVersionAlert.html

http://eyes-free.googlecode.com/ · HTML · 240 lines · 191 code · 28 blank · 21 comment · 0 complexity · 67fe82f98b07c267405094ad9f593e2e 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. TTSVersionAlert
  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="TTSVersionAlert";
  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/TTSParams.html" title="enum in com.google.tts"><B>PREV CLASS</B></A>&nbsp;
  49. &nbsp;NEXT CLASS</FONT></TD>
  50. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  51. <A HREF="../../../index.html?com/google/tts/TTSVersionAlert.html" target="_top"><B>FRAMES</B></A> &nbsp;
  52. &nbsp;<A HREF="TTSVersionAlert.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;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#methods_inherited_from_class_java.lang.Object">METHOD</A></FONT></TD>
  68. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  69. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;METHOD</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. Class TTSVersionAlert</H2>
  81. <PRE>
  82. java.lang.Object
  83. <IMG SRC="../../../resources/inherit.gif" ALT="extended by ">Builder
  84. <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>com.google.tts.TTSVersionAlert</B>
  85. </PRE>
  86. <HR>
  87. <DL>
  88. <DT><PRE>public class <B>TTSVersionAlert</B><DT>extends Builder</DL>
  89. </PRE>
  90. <P>
  91. Creates an alert message that gives the user the option to install the
  92. missing TTS that is needed through the Android Market.
  93. <P>
  94. <P>
  95. <HR>
  96. <P>
  97. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  98. <A NAME="constructor_summary"><!-- --></A>
  99. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  100. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  101. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  102. <B>Constructor Summary</B></FONT></TH>
  103. </TR>
  104. <TR BGCOLOR="white" CLASS="TableRowColor">
  105. <TD><CODE><B><A HREF="../../../com/google/tts/TTSVersionAlert.html#TTSVersionAlert(Context, java.lang.String, java.lang.String, java.lang.String)">TTSVersionAlert</A></B>(Context&nbsp;context,
  106. java.lang.String&nbsp;noTTSMessage,
  107. java.lang.String&nbsp;installButtonMessage,
  108. java.lang.String&nbsp;quitButtonMessage)</CODE>
  109. <BR>
  110. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The constructor for the TTSVersionAlert.</TD>
  111. </TR>
  112. </TABLE>
  113. &nbsp;
  114. <!-- ========== METHOD SUMMARY =========== -->
  115. <A NAME="method_summary"><!-- --></A>
  116. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  117. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  118. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  119. <B>Method Summary</B></FONT></TH>
  120. </TR>
  121. </TABLE>
  122. &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
  123. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  124. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  125. <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
  126. </TR>
  127. <TR BGCOLOR="white" CLASS="TableRowColor">
  128. <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
  129. </TR>
  130. </TABLE>
  131. &nbsp;
  132. <P>
  133. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  134. <A NAME="constructor_detail"><!-- --></A>
  135. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  136. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  137. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  138. <B>Constructor Detail</B></FONT></TH>
  139. </TR>
  140. </TABLE>
  141. <A NAME="TTSVersionAlert(Context, java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3>
  142. TTSVersionAlert</H3>
  143. <PRE>
  144. public <B>TTSVersionAlert</B>(Context&nbsp;context,
  145. java.lang.String&nbsp;noTTSMessage,
  146. java.lang.String&nbsp;installButtonMessage,
  147. java.lang.String&nbsp;quitButtonMessage)</PRE>
  148. <DL>
  149. <DD>The constructor for the TTSVersionAlert.
  150. <P>
  151. <DL>
  152. <DT><B>Parameters:</B><DD><CODE>context</CODE> - The context<DD><CODE>noTTSMessage</CODE> - The String that should be shown to users to prompt them
  153. to install the TTS. If null, the default string will be used.<DD><CODE>installButtonMessage</CODE> - The String that should be used for the
  154. "Install the TTS" button. If null, the default string will be used.<DD><CODE>quitButtonMessage</CODE> - The String that should be used for the
  155. "Do not install the TTS" button. If null, the default string will be
  156. used.</DL>
  157. </DL>
  158. <!-- ========= END OF CLASS DATA ========= -->
  159. <HR>
  160. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  161. <A NAME="navbar_bottom"><!-- --></A>
  162. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  163. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  164. <TR>
  165. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  166. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  167. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  168. <TR ALIGN="center" VALIGN="top">
  169. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../com/google/tts/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  170. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  171. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  172. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  173. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  174. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  175. </TR>
  176. </TABLE>
  177. </TD>
  178. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  179. </EM>
  180. </TD>
  181. </TR>
  182. <TR>
  183. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  184. &nbsp;<A HREF="../../../com/google/tts/TTSParams.html" title="enum in com.google.tts"><B>PREV CLASS</B></A>&nbsp;
  185. &nbsp;NEXT CLASS</FONT></TD>
  186. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  187. <A HREF="../../../index.html?com/google/tts/TTSVersionAlert.html" target="_top"><B>FRAMES</B></A> &nbsp;
  188. &nbsp;<A HREF="TTSVersionAlert.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  189. &nbsp;<SCRIPT type="text/javascript">
  190. <!--
  191. if(window==top) {
  192. document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
  193. }
  194. //-->
  195. </SCRIPT>
  196. <NOSCRIPT>
  197. <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
  198. </NOSCRIPT>
  199. </FONT></TD>
  200. </TR>
  201. <TR>
  202. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  203. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#methods_inherited_from_class_java.lang.Object">METHOD</A></FONT></TD>
  204. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  205. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;METHOD</FONT></TD>
  206. </TR>
  207. </TABLE>
  208. <A NAME="skip-navbar_bottom"></A>
  209. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  210. <HR>
  211. </BODY>
  212. </HTML>