PageRenderTime 36ms CodeModel.GetById 10ms RepoModel.GetById 0ms app.codeStats 1ms

/doc/javapns/notification/NewsstandNotificationPayload.html

https://bitbucket.org/adri11/dmoda_mobile_daemon
HTML | 238 lines | 190 code | 28 blank | 20 comment | 0 complexity | b890b10bee40da90f6ccaf2cb0663799 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_29) on Sat Jan 28 10:31:34 EST 2012 -->
  6. <TITLE>
  7. NewsstandNotificationPayload
  8. </TITLE>
  9. <META NAME="date" CONTENT="2012-01-28">
  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="NewsstandNotificationPayload";
  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="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  34. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  35. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  36. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  37. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  38. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  39. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  40. </TR>
  41. </TABLE>
  42. </TD>
  43. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  44. </EM>
  45. </TD>
  46. </TR>
  47. <TR>
  48. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  49. &nbsp;<A HREF="../../javapns/notification/ConnectionToNotificationServer.html" title="class in javapns.notification"><B>PREV CLASS</B></A>&nbsp;
  50. &nbsp;<A HREF="../../javapns/notification/Payload.html" title="class in javapns.notification"><B>NEXT CLASS</B></A></FONT></TD>
  51. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  52. <A HREF="../../index.html?javapns/notification/NewsstandNotificationPayload.html" target="_top"><B>FRAMES</B></A> &nbsp;
  53. &nbsp;<A HREF="NewsstandNotificationPayload.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  54. &nbsp;<SCRIPT type="text/javascript">
  55. <!--
  56. if(window==top) {
  57. document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
  58. }
  59. //-->
  60. </SCRIPT>
  61. <NOSCRIPT>
  62. <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
  63. </NOSCRIPT>
  64. </FONT></TD>
  65. </TR>
  66. <TR>
  67. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  68. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  69. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  70. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  71. </TR>
  72. </TABLE>
  73. <A NAME="skip-navbar_top"></A>
  74. <!-- ========= END OF TOP NAVBAR ========= -->
  75. <HR>
  76. <!-- ======== START OF CLASS DATA ======== -->
  77. <H2>
  78. <FONT SIZE="-1">
  79. javapns.notification</FONT>
  80. <BR>
  81. Class NewsstandNotificationPayload</H2>
  82. <PRE>
  83. <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
  84. <IMG SRC="../../resources/inherit.gif" ALT="extended by "><A HREF="../../javapns/notification/Payload.html" title="class in javapns.notification">javapns.notification.Payload</A>
  85. <IMG SRC="../../resources/inherit.gif" ALT="extended by "><B>javapns.notification.NewsstandNotificationPayload</B>
  86. </PRE>
  87. <HR>
  88. <DL>
  89. <DT><PRE>public class <B>NewsstandNotificationPayload</B><DT>extends <A HREF="../../javapns/notification/Payload.html" title="class in javapns.notification">Payload</A></DL>
  90. </PRE>
  91. <P>
  92. A Newsstand-specific payload compatible with the Apple Push Notification Service.
  93. <P>
  94. <P>
  95. <DL>
  96. <DT><B>Author:</B></DT>
  97. <DD>Sylvain Pedneault</DD>
  98. </DL>
  99. <HR>
  100. <P>
  101. <!-- ========== METHOD SUMMARY =========== -->
  102. <A NAME="method_summary"><!-- --></A>
  103. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  104. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  105. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  106. <B>Method Summary</B></FONT></TH>
  107. </TR>
  108. <TR BGCOLOR="white" CLASS="TableRowColor">
  109. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  110. <CODE>static&nbsp;<A HREF="../../javapns/notification/NewsstandNotificationPayload.html" title="class in javapns.notification">NewsstandNotificationPayload</A></CODE></FONT></TD>
  111. <TD><CODE><B><A HREF="../../javapns/notification/NewsstandNotificationPayload.html#contentAvailable()">contentAvailable</A></B>()</CODE>
  112. <BR>
  113. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create a pre-defined payload with a content-available property set to 1.</TD>
  114. </TR>
  115. </TABLE>
  116. &nbsp;<A NAME="methods_inherited_from_class_javapns.notification.Payload"><!-- --></A>
  117. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  118. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  119. <TH ALIGN="left"><B>Methods inherited from class javapns.notification.<A HREF="../../javapns/notification/Payload.html" title="class in javapns.notification">Payload</A></B></TH>
  120. </TR>
  121. <TR BGCOLOR="white" CLASS="TableRowColor">
  122. <TD><CODE><A HREF="../../javapns/notification/Payload.html#addCustomDictionary(java.lang.String, int)">addCustomDictionary</A>, <A HREF="../../javapns/notification/Payload.html#addCustomDictionary(java.lang.String, java.util.List)">addCustomDictionary</A>, <A HREF="../../javapns/notification/Payload.html#addCustomDictionary(java.lang.String, java.lang.String)">addCustomDictionary</A>, <A HREF="../../javapns/notification/Payload.html#asSimulationOnly()">asSimulationOnly</A>, <A HREF="../../javapns/notification/Payload.html#estimatePayloadSizeAfterAdding(java.lang.String, java.lang.Object)">estimatePayloadSizeAfterAdding</A>, <A HREF="../../javapns/notification/Payload.html#getCharacterEncoding()">getCharacterEncoding</A>, <A HREF="../../javapns/notification/Payload.html#getExpiry()">getExpiry</A>, <A HREF="../../javapns/notification/Payload.html#getMaximumPayloadSize()">getMaximumPayloadSize</A>, <A HREF="../../javapns/notification/Payload.html#getPayload()">getPayload</A>, <A HREF="../../javapns/notification/Payload.html#getPayloadAsBytes()">getPayloadAsBytes</A>, <A HREF="../../javapns/notification/Payload.html#getPayloadSize()">getPayloadSize</A>, <A HREF="../../javapns/notification/Payload.html#isEstimatedPayloadSizeAllowedAfterAdding(java.lang.String, java.lang.Object)">isEstimatedPayloadSizeAllowedAfterAdding</A>, <A HREF="../../javapns/notification/Payload.html#isPayloadSizeEstimatedWhenAdding()">isPayloadSizeEstimatedWhenAdding</A>, <A HREF="../../javapns/notification/Payload.html#setCharacterEncoding(java.lang.String)">setCharacterEncoding</A>, <A HREF="../../javapns/notification/Payload.html#setExpiry(int)">setExpiry</A>, <A HREF="../../javapns/notification/Payload.html#setPayloadSizeEstimatedWhenAdding(boolean)">setPayloadSizeEstimatedWhenAdding</A>, <A HREF="../../javapns/notification/Payload.html#toString()">toString</A></CODE></TD>
  123. </TR>
  124. </TABLE>
  125. &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
  126. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  127. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  128. <TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
  129. </TR>
  130. <TR BGCOLOR="white" CLASS="TableRowColor">
  131. <TD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
  132. </TR>
  133. </TABLE>
  134. &nbsp;
  135. <P>
  136. <!-- ============ METHOD DETAIL ========== -->
  137. <A NAME="method_detail"><!-- --></A>
  138. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  139. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  140. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  141. <B>Method Detail</B></FONT></TH>
  142. </TR>
  143. </TABLE>
  144. <A NAME="contentAvailable()"><!-- --></A><H3>
  145. contentAvailable</H3>
  146. <PRE>
  147. public static <A HREF="../../javapns/notification/NewsstandNotificationPayload.html" title="class in javapns.notification">NewsstandNotificationPayload</A> <B>contentAvailable</B>()</PRE>
  148. <DL>
  149. <DD>Create a pre-defined payload with a content-available property set to 1.
  150. <P>
  151. <DD><DL>
  152. <DT><B>Returns:</B><DD>a ready-to-send newsstand payload</DL>
  153. </DD>
  154. </DL>
  155. <!-- ========= END OF CLASS DATA ========= -->
  156. <HR>
  157. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  158. <A NAME="navbar_bottom"><!-- --></A>
  159. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  160. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  161. <TR>
  162. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  163. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  164. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  165. <TR ALIGN="center" VALIGN="top">
  166. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  167. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  168. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  169. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  170. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  171. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  172. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  173. </TR>
  174. </TABLE>
  175. </TD>
  176. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  177. </EM>
  178. </TD>
  179. </TR>
  180. <TR>
  181. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  182. &nbsp;<A HREF="../../javapns/notification/ConnectionToNotificationServer.html" title="class in javapns.notification"><B>PREV CLASS</B></A>&nbsp;
  183. &nbsp;<A HREF="../../javapns/notification/Payload.html" title="class in javapns.notification"><B>NEXT CLASS</B></A></FONT></TD>
  184. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  185. <A HREF="../../index.html?javapns/notification/NewsstandNotificationPayload.html" target="_top"><B>FRAMES</B></A> &nbsp;
  186. &nbsp;<A HREF="NewsstandNotificationPayload.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  187. &nbsp;<SCRIPT type="text/javascript">
  188. <!--
  189. if(window==top) {
  190. document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
  191. }
  192. //-->
  193. </SCRIPT>
  194. <NOSCRIPT>
  195. <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
  196. </NOSCRIPT>
  197. </FONT></TD>
  198. </TR>
  199. <TR>
  200. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  201. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  202. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  203. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  204. </TR>
  205. </TABLE>
  206. <A NAME="skip-navbar_bottom"></A>
  207. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  208. <HR>
  209. </BODY>
  210. </HTML>