📄 multiuserchat.html
字号:
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jivesoftware/smackx/muc/MultiUserChat.html#grantVoice(java.lang.String)">grantVoice</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> nickname)</CODE><BR> Grants voice to a visitor 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/MultiUserChat.html#invite(org.jivesoftware.smack.packet.Message, java.lang.String, java.lang.String)">invite</A></B>(<A HREF="../../../../org/jivesoftware/smack/packet/Message.html" title="class in org.jivesoftware.smack.packet">Message</A> message, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> user, <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)</CODE><BR> Invites another user to the room in which one is an occupant using a given Message.</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/MultiUserChat.html#invite(java.lang.String, java.lang.String)">invite</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> user, <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)</CODE><BR> Invites another user to the room in which one is an occupant.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jivesoftware/smackx/muc/MultiUserChat.html#isJoined()">isJoined</A></B>()</CODE><BR> Returns true if currently in the multi user chat (after calling the <A HREF="../../../../org/jivesoftware/smackx/muc/MultiUserChat.html#join(java.lang.String)"><CODE>join(String)</CODE></A> method).</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jivesoftware/smackx/muc/MultiUserChat.html#isServiceEnabled(org.jivesoftware.smack.XMPPConnection, java.lang.String)">isServiceEnabled</A></B>(<A HREF="../../../../org/jivesoftware/smack/XMPPConnection.html" title="class in org.jivesoftware.smack">XMPPConnection</A> connection, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> user)</CODE><BR> Returns true if the specified user supports the Multi-User Chat protocol.</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/MultiUserChat.html#join(java.lang.String)">join</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> nickname)</CODE><BR> Joins the chat room using the specified nickname.</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/MultiUserChat.html#join(java.lang.String, java.lang.String)">join</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> nickname, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> password)</CODE><BR> Joins the chat room using the specified nickname and password.</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/MultiUserChat.html#join(java.lang.String, java.lang.String, org.jivesoftware.smackx.muc.DiscussionHistory, long)">join</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> nickname, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> password, <A HREF="../../../../org/jivesoftware/smackx/muc/DiscussionHistory.html" title="class in org.jivesoftware.smackx.muc">DiscussionHistory</A> history, long timeout)</CODE><BR> Joins the chat room using the specified nickname and password.</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/MultiUserChat.html#kickParticipant(java.lang.String, java.lang.String)">kickParticipant</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> nickname, <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)</CODE><BR> Kicks a visitor or participant from 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/MultiUserChat.html#leave()">leave</A></B>()</CODE><BR> Leave the chat room.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/jivesoftware/smack/packet/Message.html" title="class in org.jivesoftware.smack.packet">Message</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jivesoftware/smackx/muc/MultiUserChat.html#nextMessage()">nextMessage</A></B>()</CODE><BR> Returns the next available message in the chat.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/jivesoftware/smack/packet/Message.html" title="class in org.jivesoftware.smack.packet">Message</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jivesoftware/smackx/muc/MultiUserChat.html#nextMessage(long)">nextMessage</A></B>(long timeout)</CODE><BR> Returns the next available message in the chat.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/jivesoftware/smack/packet/Message.html" title="class in org.jivesoftware.smack.packet">Message</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jivesoftware/smackx/muc/MultiUserChat.html#pollMessage()">pollMessage</A></B>()</CODE><BR> Polls for and returns the next message, or <tt>null</tt> if there isn't a message immediately available.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jivesoftware/smackx/muc/MultiUserChat.html#removeInvitationListener(org.jivesoftware.smack.XMPPConnection, org.jivesoftware.smackx.muc.InvitationListener)">removeInvitationListener</A></B>(<A HREF="../../../../org/jivesoftware/smack/XMPPConnection.html" title="class in org.jivesoftware.smack">XMPPConnection</A> conn, <A HREF="../../../../org/jivesoftware/smackx/muc/InvitationListener.html" title="interface in org.jivesoftware.smackx.muc">InvitationListener</A> listener)</CODE><BR> Removes a listener to invitation notifications.</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/MultiUserChat.html#removeInvitationRejectionListener(org.jivesoftware.smackx.muc.InvitationRejectionListener)">removeInvitationRejectionListener</A></B>(<A HREF="../../../../org/jivesoftware/smackx/muc/InvitationRejectionListener.html" title="interface in org.jivesoftware.smackx.muc">InvitationRejectionListener</A> listener)</CODE><BR> Removes a listener from invitation rejections notifications.</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/MultiUserChat.html#removeMessageListener(org.jivesoftware.smack.PacketListener)">removeMessageListener</A></B>(<A HREF="../../../../org/jivesoftware/smack/PacketListener.html" title="interface in org.jivesoftware.smack">PacketListener</A> listener)</CODE><BR> Removes a packet listener that was being notified of any new messages in the multi user chat.</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/MultiUserChat.html#removeParticipantListener(org.jivesoftware.smack.PacketListener)">removeParticipantListener</A></B>(<A HREF="../../../../org/jivesoftware/smack/PacketListener.html" title="interface in org.jivesoftware.smack">PacketListener</A> listener)</CODE><BR> Remoces a packet listener that was being notified of any new Presence packets sent to the group chat.</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/MultiUserChat.html#removeParticipantStatusListener(org.jivesoftware.smackx.muc.ParticipantStatusListener)">removeParticipantStatusListener</A></B>(<A HREF="../../../../org/jivesoftware/smackx/muc/ParticipantStatusListener.html" title="interface in org.jivesoftware.smackx.muc">ParticipantStatusListener</A> listener)</CODE><BR> Removes a listener that was being notified of changes in occupants status in the room such as the user being kicked, banned, or granted admin permissions.</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/MultiUserChat.html#removePresenceInterceptor(org.jivesoftware.smack.PacketInterceptor)">removePresenceInterceptor</A></B>(<A HREF="../../../../org/jivesoftware/smack/PacketInterceptor.html" title="interface in org.jivesoftware.smack">PacketInterceptor</A> presenceInterceptor)</CODE><BR> Removes a <A HREF="../../../../org/jivesoftware/smack/PacketInterceptor.html" title="interface in org.jivesoftware.smack"><CODE>PacketInterceptor</CODE></A> that was being invoked every time a new presence was being sent by this MultiUserChat to the server.</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/MultiUserChat.html#removeSubjectUpdatedListener(org.jivesoftware.smackx.muc.SubjectUpdatedListener)">removeSubjectUpdatedListener</A></B>(<A HREF="../../../../org/jivesoftware/smackx/muc/SubjectUpdatedListener.html" title="interface in org.jivesoftware.smackx.muc">SubjectUpdatedListener</A> listener)</CODE><BR> Removes a listener from subject change notifications.</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/MultiUserChat.html#removeUserStatusListener(org.jivesoftware.smackx.muc.UserStatusListener)">removeUserStatusListener</A></B>(<A HREF="../../../../org/jivesoftware/smackx/muc/UserStatusListener.html" title="interface in org.jivesoftware.smackx.muc">UserStatusListener</A> listener)</CODE><BR> Removes a listener that was being notified of changes in your status in the room such as the user being kicked, banned, or granted admin permissions.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -