📄 roominfo.html
字号:
<!-- ============ 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="getRoom()"><!-- --></A><H3>getRoom</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getRoom</B>()</PRE><DL><DD>Returns the JID of the room whose information was discovered.<P><DD><DL><DT><B>Returns:</B><DD>the JID of the room whose information was discovered.</DL></DD></DL><HR><A NAME="getDescription()"><!-- --></A><H3>getDescription</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getDescription</B>()</PRE><DL><DD>Returns the discovered description of the room.<P><DD><DL><DT><B>Returns:</B><DD>the discovered description of the room.</DL></DD></DL><HR><A NAME="getSubject()"><!-- --></A><H3>getSubject</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getSubject</B>()</PRE><DL><DD>Returns the discovered subject of the room. The subject may be empty if the room does not have a subject.<P><DD><DL><DT><B>Returns:</B><DD>the discovered subject of the room.</DL></DD></DL><HR><A NAME="getOccupantsCount()"><!-- --></A><H3>getOccupantsCount</H3><PRE>public int <B>getOccupantsCount</B>()</PRE><DL><DD>Returns the discovered number of occupants that are currently in the room. If this information was not discovered (i.e. the server didn't send it) then a value of -1 will be returned.<P><DD><DL><DT><B>Returns:</B><DD>the number of occupants that are currently in the room or -1 if that information was not provided by the server.</DL></DD></DL><HR><A NAME="isMembersOnly()"><!-- --></A><H3>isMembersOnly</H3><PRE>public boolean <B>isMembersOnly</B>()</PRE><DL><DD>Returns true if the room has restricted the access so that only members may enter the room.<P><DD><DL><DT><B>Returns:</B><DD>true if the room has restricted the access so that only members may enter the room.</DL></DD></DL><HR><A NAME="isModerated()"><!-- --></A><H3>isModerated</H3><PRE>public boolean <B>isModerated</B>()</PRE><DL><DD>Returns true if the room enabled only participants to speak. Occupants with a role of visitor won't be able to speak in the room.<P><DD><DL><DT><B>Returns:</B><DD>true if the room enabled only participants to speak.</DL></DD></DL><HR><A NAME="isNonanonymous()"><!-- --></A><H3>isNonanonymous</H3><PRE>public boolean <B>isNonanonymous</B>()</PRE><DL><DD>Returns true if presence packets will include the JID of every occupant.<P><DD><DL><DT><B>Returns:</B><DD>true if presence packets will include the JID of every occupant.</DL></DD></DL><HR><A NAME="isPasswordProtected()"><!-- --></A><H3>isPasswordProtected</H3><PRE>public boolean <B>isPasswordProtected</B>()</PRE><DL><DD>Returns true if users musy provide a valid password in order to join the room.<P><DD><DL><DT><B>Returns:</B><DD>true if users musy provide a valid password in order to join the room.</DL></DD></DL><HR><A NAME="isPersistent()"><!-- --></A><H3>isPersistent</H3><PRE>public boolean <B>isPersistent</B>()</PRE><DL><DD>Returns true if the room will persist after the last occupant have left the room.<P><DD><DL><DT><B>Returns:</B><DD>true if the room will persist after the last occupant have left the room.</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>Smack</b></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../org/jivesoftware/smackx/muc/ParticipantStatusListener.html" title="interface in org.jivesoftware.smackx.muc"><B>PREV CLASS</B></A> <A HREF="../../../../org/jivesoftware/smackx/muc/SubjectUpdatedListener.html" title="interface in org.jivesoftware.smackx.muc"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?org/jivesoftware/smackx/muc/RoomInfo.html" target="_top"><B>FRAMES</B></A> <A HREF="RoomInfo.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 | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR><i>Copyright © 2003-2007 Jive Software. </i></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -