📄 mucuser.html
字号:
<DT><B>Returns:</B><DD>an item child that holds information about roles, affiliation, jids and nicks.</DL></DD></DL><HR><A NAME="getPassword()"><!-- --></A><H3>getPassword</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>getPassword</B>()</PRE><DL><DD>Returns the password to use to enter Password-Protected Room. A Password-Protected Room is a room that a user cannot enter without first providing the correct password.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the password to use to enter Password-Protected Room.</DL></DD></DL><HR><A NAME="getStatus()"><!-- --></A><H3>getStatus</H3><PRE>public <A HREF="../../../../org/jivesoftware/smackx/packet/MUCUser.Status.html" title="class in org.jivesoftware.smackx.packet">MUCUser.Status</A> <B>getStatus</B>()</PRE><DL><DD>Returns the status which holds a code that assists in presenting notification messages.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the status which holds a code that assists in presenting notification messages.</DL></DD></DL><HR><A NAME="getDestroy()"><!-- --></A><H3>getDestroy</H3><PRE>public <A HREF="../../../../org/jivesoftware/smackx/packet/MUCUser.Destroy.html" title="class in org.jivesoftware.smackx.packet">MUCUser.Destroy</A> <B>getDestroy</B>()</PRE><DL><DD>Returns the notification that the room has been destroyed. After a room has been destroyed, the room occupants will receive a Presence packet of type 'unavailable' with the reason for the room destruction if provided by the room owner.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>a notification that the room has been destroyed.</DL></DD></DL><HR><A NAME="setInvite(org.jivesoftware.smackx.packet.MUCUser.Invite)"><!-- --></A><H3>setInvite</H3><PRE>public void <B>setInvite</B>(<A HREF="../../../../org/jivesoftware/smackx/packet/MUCUser.Invite.html" title="class in org.jivesoftware.smackx.packet">MUCUser.Invite</A> invite)</PRE><DL><DD>Sets the invitation for another user to a room. The sender of the invitation must be an occupant of the room. The invitation will be sent to the room which in turn will forward the invitation to the invitee.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>invite</CODE> - the invitation for another user to a room.</DL></DD></DL><HR><A NAME="setDecline(org.jivesoftware.smackx.packet.MUCUser.Decline)"><!-- --></A><H3>setDecline</H3><PRE>public void <B>setDecline</B>(<A HREF="../../../../org/jivesoftware/smackx/packet/MUCUser.Decline.html" title="class in org.jivesoftware.smackx.packet">MUCUser.Decline</A> decline)</PRE><DL><DD>Sets the rejection to an invitation from another user to a room. The rejection will be sent to the room which in turn will forward the refusal to the inviter.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>decline</CODE> - the rejection to an invitation from another user to a room.</DL></DD></DL><HR><A NAME="setItem(org.jivesoftware.smackx.packet.MUCUser.Item)"><!-- --></A><H3>setItem</H3><PRE>public void <B>setItem</B>(<A HREF="../../../../org/jivesoftware/smackx/packet/MUCUser.Item.html" title="class in org.jivesoftware.smackx.packet">MUCUser.Item</A> item)</PRE><DL><DD>Sets the item child that holds information about roles, affiliation, jids and nicks.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>item</CODE> - the item child that holds information about roles, affiliation, jids and nicks.</DL></DD></DL><HR><A NAME="setPassword(java.lang.String)"><!-- --></A><H3>setPassword</H3><PRE>public void <B>setPassword</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> string)</PRE><DL><DD>Sets the password to use to enter Password-Protected Room. A Password-Protected Room is a room that a user cannot enter without first providing the correct password.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>string</CODE> - the password to use to enter Password-Protected Room.</DL></DD></DL><HR><A NAME="setStatus(org.jivesoftware.smackx.packet.MUCUser.Status)"><!-- --></A><H3>setStatus</H3><PRE>public void <B>setStatus</B>(<A HREF="../../../../org/jivesoftware/smackx/packet/MUCUser.Status.html" title="class in org.jivesoftware.smackx.packet">MUCUser.Status</A> status)</PRE><DL><DD>Sets the status which holds a code that assists in presenting notification messages.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>status</CODE> - the status which holds a code that assists in presenting notification messages.</DL></DD></DL><HR><A NAME="setDestroy(org.jivesoftware.smackx.packet.MUCUser.Destroy)"><!-- --></A><H3>setDestroy</H3><PRE>public void <B>setDestroy</B>(<A HREF="../../../../org/jivesoftware/smackx/packet/MUCUser.Destroy.html" title="class in org.jivesoftware.smackx.packet">MUCUser.Destroy</A> destroy)</PRE><DL><DD>Sets the notification that the room has been destroyed. After a room has been destroyed, the room occupants will receive a Presence packet of type 'unavailable' with the reason for the room destruction if provided by the room owner.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>destroy</CODE> - the notification that the room has been destroyed.</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/packet/MUCOwner.Item.html" title="class in org.jivesoftware.smackx.packet"><B>PREV CLASS</B></A> <A HREF="../../../../org/jivesoftware/smackx/packet/MUCUser.Decline.html" title="class in org.jivesoftware.smackx.packet"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?org/jivesoftware/smackx/packet/MUCUser.html" target="_top"><B>FRAMES</B></A> <A HREF="MUCUser.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: <A HREF="#nested_class_summary">NESTED</A> | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <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 + -