public final class InvitationEvent extends EventObject
| Modifier and Type | Method and Description |
|---|---|
void |
decline(String reason)
Declines the invitation.
|
rocks.xmpp.addr.Jid |
getInviter()
Gets the inviter.
|
String |
getPassword()
Gets the password to the room.
|
String |
getReason()
Gets the reason for the invitation.
|
rocks.xmpp.addr.Jid |
getRoomAddress()
Gets the room address.
|
String |
getThread()
Gets the thread of the continued one-to-one chat session (if any).
|
boolean |
isContinue()
Indicates, whether a one-to-one chat session is continued in the chat room.
|
boolean |
isMediated()
Indicates, whether the invitation is a mediated or direct invitation.
|
getSource, toStringpublic void decline(String reason)
reason - The reason.public rocks.xmpp.addr.Jid getInviter()
public boolean isContinue()
getThread()public rocks.xmpp.addr.Jid getRoomAddress()
public String getPassword()
public String getReason()
public String getThread()
isContinue()public boolean isMediated()
Copyright © 2014–2016 XMPP.rocks. All rights reserved.