📄 presence.type.html
字号:
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD></TR></TABLE> <P><!-- ============ ENUM CONSTANT DETAIL =========== --><A NAME="enum_constant_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Enum Constant Detail</B></FONT></TH></TR></TABLE><A NAME="unavailable"><!-- --></A><H3>unavailable</H3><PRE>public static final <A HREF="../../../org/xmpp/packet/Presence.Type.html" title="enum in org.xmpp.packet">Presence.Type</A> <B>unavailable</B></PRE><DL><DD>Typically short text message used in line-by-line chat interfaces.<P><DL></DL></DL><HR><A NAME="subscribe"><!-- --></A><H3>subscribe</H3><PRE>public static final <A HREF="../../../org/xmpp/packet/Presence.Type.html" title="enum in org.xmpp.packet">Presence.Type</A> <B>subscribe</B></PRE><DL><DD>The sender wishes to subscribe to the recipient's presence.<P><DL></DL></DL><HR><A NAME="subscribed"><!-- --></A><H3>subscribed</H3><PRE>public static final <A HREF="../../../org/xmpp/packet/Presence.Type.html" title="enum in org.xmpp.packet">Presence.Type</A> <B>subscribed</B></PRE><DL><DD>The sender has allowed the recipient to receive their presence.<P><DL></DL></DL><HR><A NAME="unsubscribe"><!-- --></A><H3>unsubscribe</H3><PRE>public static final <A HREF="../../../org/xmpp/packet/Presence.Type.html" title="enum in org.xmpp.packet">Presence.Type</A> <B>unsubscribe</B></PRE><DL><DD>The sender is unsubscribing from another entity's presence.<P><DL></DL></DL><HR><A NAME="unsubscribed"><!-- --></A><H3>unsubscribed</H3><PRE>public static final <A HREF="../../../org/xmpp/packet/Presence.Type.html" title="enum in org.xmpp.packet">Presence.Type</A> <B>unsubscribed</B></PRE><DL><DD>The subscription request has been denied or a previously-granted subscription has been cancelled.<P><DL></DL></DL><HR><A NAME="probe"><!-- --></A><H3>probe</H3><PRE>public static final <A HREF="../../../org/xmpp/packet/Presence.Type.html" title="enum in org.xmpp.packet">Presence.Type</A> <B>probe</B></PRE><DL><DD>A request for an entity's current presence; SHOULD be generated only by a server on behalf of a user.<P><DL></DL></DL><HR><A NAME="error"><!-- --></A><H3>error</H3><PRE>public static final <A HREF="../../../org/xmpp/packet/Presence.Type.html" title="enum in org.xmpp.packet">Presence.Type</A> <B>error</B></PRE><DL><DD>An error has occurred regarding processing or delivery of a previously-sent presence stanza.<P><DL></DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Method Detail</B></FONT></TH></TR></TABLE><A NAME="values()"><!-- --></A><H3>values</H3><PRE>public static final <A HREF="../../../org/xmpp/packet/Presence.Type.html" title="enum in org.xmpp.packet">Presence.Type</A>[] <B>values</B>()</PRE><DL><DD>Returns an array containing the constants of this enum type, inthe order they're declared. This method may be used to iterateover the constants as follows:<pre>for(Presence.Type c : Presence.Type.values()) System.out.println(c);</pre><P><DD><DL><DT><B>Returns:</B><DD>an array containing the constants of this enum type, inthe order they're declared</DL></DD></DL><HR><A NAME="valueOf(java.lang.String)"><!-- --></A><H3>valueOf</H3><PRE>public static <A HREF="../../../org/xmpp/packet/Presence.Type.html" title="enum in org.xmpp.packet">Presence.Type</A> <B>valueOf</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> name)</PRE><DL><DD>Returns the enum constant of this type with the specified name.The string must match <I>exactly</I> an identifier used to declare anenum constant in this type. (Extraneous whitespace characters are not permitted.)<P><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the enum constant to be returned.<DT><B>Returns:</B><DD>the enum constant with the specified name<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if this enum type has no constantwith the specified name</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM><b>Openfire 3.6.0a Javadoc</b></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../org/xmpp/packet/Presence.Show.html" title="enum in org.xmpp.packet"><B>PREV CLASS</B></A> <A HREF="../../../org/xmpp/packet/Roster.html" title="class in org.xmpp.packet"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html?org/xmpp/packet/Presence.Type.html" target="_top"><B>FRAMES</B></A> <A HREF="Presence.Type.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT> <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | <A HREF="#enum_constant_summary">ENUM CONSTANTS</A> | FIELD | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#enum_constant_detail">ENUM CONSTANTS</A> | FIELD | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR><i>Copyright © 2003-2008 Jive Software.</i></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -