📄 participantstatuslistener.html
字号:
<DD>Called when a room occupant has left the room on its own. This means that the occupant was neither kicked nor banned from the room.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>participant</CODE> - the participant that has left the room on its own. (e.g. room@conference.jabber.org/nick).</DL></DD></DL><HR><A NAME="kicked(java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3>kicked</H3><PRE>void <B>kicked</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> participant, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> actor, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> reason)</PRE><DL><DD>Called when a room participant has been kicked from the room. This means that the kicked participant is no longer participating in the room.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>participant</CODE> - the participant that was kicked from the room (e.g. room@conference.jabber.org/nick).<DD><CODE>actor</CODE> - the moderator that kicked the occupant from the room (e.g. user@host.org).<DD><CODE>reason</CODE> - the reason provided by the actor to kick the occupant from the room.</DL></DD></DL><HR><A NAME="voiceGranted(java.lang.String)"><!-- --></A><H3>voiceGranted</H3><PRE>void <B>voiceGranted</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> participant)</PRE><DL><DD>Called when a moderator grants voice to a visitor. This means that the visitor can now participate in the moderated room sending messages to all occupants.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>participant</CODE> - the participant that was granted voice in the room (e.g. room@conference.jabber.org/nick).</DL></DD></DL><HR><A NAME="voiceRevoked(java.lang.String)"><!-- --></A><H3>voiceRevoked</H3><PRE>void <B>voiceRevoked</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> participant)</PRE><DL><DD>Called when a moderator revokes voice from a participant. This means that the participant in the room was able to speak and now is a visitor that can't send messages to the room occupants.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>participant</CODE> - the participant that was revoked voice from the room (e.g. room@conference.jabber.org/nick).</DL></DD></DL><HR><A NAME="banned(java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3>banned</H3><PRE>void <B>banned</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> participant, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> actor, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> reason)</PRE><DL><DD>Called when an administrator or owner banned a participant from the room. This means that banned participant will no longer be able to join the room unless the ban has been removed.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>participant</CODE> - the participant that was banned from the room (e.g. room@conference.jabber.org/nick).<DD><CODE>actor</CODE> - the administrator that banned the occupant (e.g. user@host.org).<DD><CODE>reason</CODE> - the reason provided by the administrator to ban the occupant.</DL></DD></DL><HR><A NAME="membershipGranted(java.lang.String)"><!-- --></A><H3>membershipGranted</H3><PRE>void <B>membershipGranted</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> participant)</PRE><DL><DD>Called when an administrator grants a user membership to the room. This means that the user will be able to join the members-only room.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>participant</CODE> - the participant that was granted membership in the room (e.g. room@conference.jabber.org/nick).</DL></DD></DL><HR><A NAME="membershipRevoked(java.lang.String)"><!-- --></A><H3>membershipRevoked</H3><PRE>void <B>membershipRevoked</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> participant)</PRE><DL><DD>Called when an administrator revokes a user membership to the room. This means that the user will not be able to join the members-only room.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>participant</CODE> - the participant that was revoked membership from the room (e.g. room@conference.jabber.org/nick).</DL></DD></DL><HR><A NAME="moderatorGranted(java.lang.String)"><!-- --></A><H3>moderatorGranted</H3><PRE>void <B>moderatorGranted</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> participant)</PRE><DL><DD>Called when an administrator grants moderator privileges to a user. This means that the user will be able to kick users, grant and revoke voice, invite other users, modify room's subject plus all the partcipants privileges.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>participant</CODE> - the participant that was granted moderator privileges in the room (e.g. room@conference.jabber.org/nick).</DL></DD></DL><HR><A NAME="moderatorRevoked(java.lang.String)"><!-- --></A><H3>moderatorRevoked</H3><PRE>void <B>moderatorRevoked</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> participant)</PRE><DL><DD>Called when an administrator revokes moderator privileges from a user. This means that the user will no longer be able to kick users, grant and revoke voice, invite other users, modify room's subject plus all the partcipants privileges.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>participant</CODE> - the participant that was revoked moderator privileges in the room (e.g. room@conference.jabber.org/nick).</DL></DD></DL><HR><A NAME="ownershipGranted(java.lang.String)"><!-- --></A><H3>ownershipGranted</H3><PRE>void <B>ownershipGranted</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> participant)</PRE><DL><DD>Called when an owner grants a user ownership on the room. This means that the user will be able to change defining room features as well as perform all administrative functions.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>participant</CODE> - the participant that was granted ownership on the room (e.g. room@conference.jabber.org/nick).</DL></DD></DL><HR><A NAME="ownershipRevoked(java.lang.String)"><!-- --></A><H3>ownershipRevoked</H3><PRE>void <B>ownershipRevoked</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> participant)</PRE><DL><DD>Called when an owner revokes a user ownership on the room. This means that the user will no longer be able to change defining room features as well as perform all administrative functions.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>participant</CODE> - the participant that was revoked ownership on the room (e.g. room@conference.jabber.org/nick).</DL></DD></DL><HR><A NAME="adminGranted(java.lang.String)"><!-- --></A><H3>adminGranted</H3><PRE>void <B>adminGranted</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> participant)</PRE><DL><DD>Called when an owner grants administrator privileges to a user. This means that the user will be able to perform administrative functions such as banning users and edit moderator list.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>participant</CODE> - the participant that was granted administrator privileges (e.g. room@conference.jabber.org/nick).</DL></DD></DL><HR><A NAME="adminRevoked(java.lang.String)"><!-- --></A><H3>adminRevoked</H3><PRE>void <B>adminRevoked</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> participant)</PRE><DL><DD>Called when an owner revokes administrator privileges from a user. This means that the user will no longer be able to perform administrative functions such as banning users and edit moderator list.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>participant</CODE> - the participant that was revoked administrator privileges (e.g. room@conference.jabber.org/nick).</DL></DD></DL><HR><A NAME="nicknameChanged(java.lang.String, java.lang.String)"><!-- --></A><H3>nicknameChanged</H3><PRE>void <B>nicknameChanged</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> participant, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> newNickname)</PRE><DL><DD>Called when a participant changed his/her nickname in the room. The new participant's nickname will be informed with the next available presence.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>participant</CODE> - the participant that was revoked administrator privileges (e.g. room@conference.jabber.org/nick).<DD><CODE>newNickname</CODE> - the new nickname that the participant decided to use.</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/Occupant.html" title="class in org.jivesoftware.smackx.muc"><B>PREV CLASS</B></A> <A HREF="../../../../org/jivesoftware/smackx/muc/RoomInfo.html" title="class 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/ParticipantStatusListener.html" target="_top"><B>FRAMES</B></A> <A HREF="ParticipantStatusListener.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 + -