📄 defaultparticipantstatuslistener.html
字号:
<BR> Called when an administrator revokes moderator privileges from a user.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jivesoftware/smackx/muc/DefaultParticipantStatusListener.html#nicknameChanged(java.lang.String, java.lang.String)">nicknameChanged</A></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)</CODE><BR> Called when a participant changed his/her nickname in the room.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jivesoftware/smackx/muc/DefaultParticipantStatusListener.html#ownershipGranted(java.lang.String)">ownershipGranted</A></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)</CODE><BR> Called when an owner grants a user ownership on the room.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jivesoftware/smackx/muc/DefaultParticipantStatusListener.html#ownershipRevoked(java.lang.String)">ownershipRevoked</A></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)</CODE><BR> Called when an owner revokes a user ownership on the room.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jivesoftware/smackx/muc/DefaultParticipantStatusListener.html#voiceGranted(java.lang.String)">voiceGranted</A></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)</CODE><BR> Called when a moderator grants voice to a visitor.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jivesoftware/smackx/muc/DefaultParticipantStatusListener.html#voiceRevoked(java.lang.String)">voiceRevoked</A></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)</CODE><BR> Called when a moderator revokes voice from a participant.</TD></TR></TABLE> <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.3/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.3/docs/api/java/lang/Object.html#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.3/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.3/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD></TR></TABLE> <P><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_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>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="DefaultParticipantStatusListener()"><!-- --></A><H3>DefaultParticipantStatusListener</H3><PRE>public <B>DefaultParticipantStatusListener</B>()</PRE><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="joined(java.lang.String)"><!-- --></A><H3>joined</H3><PRE>public void <B>joined</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><B>Description copied from interface: <CODE><A HREF="../../../../org/jivesoftware/smackx/muc/ParticipantStatusListener.html#joined(java.lang.String)">ParticipantStatusListener</A></CODE></B></DD><DD>Called when a new room occupant has joined the room. Note: Take in consideration that when you join a room you will receive the list of current occupants in the room. This message will be sent for each occupant.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jivesoftware/smackx/muc/ParticipantStatusListener.html#joined(java.lang.String)">joined</A></CODE> in interface <CODE><A HREF="../../../../org/jivesoftware/smackx/muc/ParticipantStatusListener.html" title="interface in org.jivesoftware.smackx.muc">ParticipantStatusListener</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>participant</CODE> - the participant that has just joined the room (e.g. room@conference.jabber.org/nick).</DL></DD></DL><HR><A NAME="left(java.lang.String)"><!-- --></A><H3>left</H3><PRE>public void <B>left</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><B>Description copied from interface: <CODE><A HREF="../../../../org/jivesoftware/smackx/muc/ParticipantStatusListener.html#left(java.lang.String)">ParticipantStatusListener</A></CODE></B></DD><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>Specified by:</B><DD><CODE><A HREF="../../../../org/jivesoftware/smackx/muc/ParticipantStatusListener.html#left(java.lang.String)">left</A></CODE> in interface <CODE><A HREF="../../../../org/jivesoftware/smackx/muc/ParticipantStatusListener.html" title="interface in org.jivesoftware.smackx.muc">ParticipantStatusListener</A></CODE></DL></DD><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>public 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><B>Description copied from interface: <CODE><A HREF="../../../../org/jivesoftware/smackx/muc/ParticipantStatusListener.html#kicked(java.lang.String, java.lang.String, java.lang.String)">ParticipantStatusListener</A></CODE></B></DD><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>Specified by:</B><DD><CODE><A HREF="../../../../org/jivesoftware/smackx/muc/ParticipantStatusListener.html#kicked(java.lang.String, java.lang.String, java.lang.String)">kicked</A></CODE> in interface <CODE><A HREF="../../../../org/jivesoftware/smackx/muc/ParticipantStatusListener.html" title="interface in org.jivesoftware.smackx.muc">ParticipantStatusListener</A></CODE></DL></DD><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>public 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><B>Description copied from interface: <CODE><A HREF="../../../../org/jivesoftware/smackx/muc/ParticipantStatusListener.html#voiceGranted(java.lang.String)">ParticipantStatusListener</A></CODE></B></DD><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>Specified by:</B><DD><CODE><A HREF="../../../../org/jivesoftware/smackx/muc/ParticipantStatusListener.html#voiceGranted(java.lang.String)">voiceGranted</A></CODE> in interface <CODE><A HREF="../../../../org/jivesoftware/smackx/muc/ParticipantStatusListener.html" title="interface in org.jivesoftware.smackx.muc">ParticipantStatusListener</A></CODE></DL></DD><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>public 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><B>Description copied from interface: <CODE><A HREF="../../../../org/jivesoftware/smackx/muc/ParticipantStatusListener.html#voiceRevoked(java.lang.String)">ParticipantStatusListener</A></CODE></B></DD><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>Specified by:</B><DD><CODE><A HREF="../../../../org/jivesoftware/smackx/muc/ParticipantStatusListener.html#voiceRevoked(java.lang.String)">voiceRevoked</A></CODE> in interface <CODE><A HREF="../../../../org/jivesoftware/smackx/muc/ParticipantStatusListener.html" title="interface in org.jivesoftware.smackx.muc">ParticipantStatusListener</A></CODE></DL></DD><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>public 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><B>Description copied from interface: <CODE><A HREF="../../../../org/jivesoftware/smackx/muc/ParticipantStatusListener.html#banned(java.lang.String, java.lang.String, java.lang.String)">ParticipantStatusListener</A></CODE></B></DD><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>Specified by:</B><DD><CODE><A HREF="../../../../org/jivesoftware/smackx/muc/ParticipantStatusListener.html#banned(java.lang.String, java.lang.String, java.lang.String)">banned</A></CODE> in interface <CODE><A HREF="../../../../org/jivesoftware/smackx/muc/ParticipantStatusListener.html" title="interface in org.jivesoftware.smackx.muc">ParticipantStatusListener</A></CODE></DL></DD><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>public 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><B>Description copied from interface: <CODE><A HREF="../../../../org/jivesoftware/smackx/muc/ParticipantStatusListener.html#membershipGranted(java.lang.String)">ParticipantStatusListener</A></CODE></B></DD><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>Specified by:</B><DD><CODE><A HREF="../../../../org/jivesoftware/smackx/muc/ParticipantStatusListener.html#membershipGranted(java.lang.String)">membershipGranted</A></CODE> in interface <CODE><A HREF="../../../../org/jivesoftware/smackx/muc/ParticipantStatusListener.html" title="interface in org.jivesoftware.smackx.muc">ParticipantStatusListener</A></CODE></DL></DD><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>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -