public interface RoomInvitationListener
Modifier and Type | Method and Description |
---|---|
boolean |
handleInvitation(org.jivesoftware.smack.XMPPConnection connection,
org.jivesoftware.smackx.muc.MultiUserChat room,
java.lang.String inviter,
java.lang.String reason,
java.lang.String password,
org.jivesoftware.smack.packet.Message message)
Return true if you wish to handle this invitation.
|
boolean handleInvitation(org.jivesoftware.smack.XMPPConnection connection, org.jivesoftware.smackx.muc.MultiUserChat room, java.lang.String inviter, java.lang.String reason, java.lang.String password, org.jivesoftware.smack.packet.Message message)
connection
- the XMPPConnection.room
- the room the invitation was sent from.inviter
- the person who is inviting the user.reason
- the reason for the invitation.password
- the password of the room, if any. This value can be null.message
- the appened message.