public final class DirectInvitation
extends java.lang.Object
The implementation of the <x/>
element in the jabber:x:conference
namespace, which represents a direct multi-user chat invitation.
This class is immutable.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAMESPACE
jabber:x:conference
|
Constructor and Description |
---|
DirectInvitation(Jid jid) |
DirectInvitation(Jid jid,
java.lang.String password,
java.lang.String reason) |
DirectInvitation(Jid jid,
java.lang.String password,
java.lang.String reason,
boolean isContinue,
java.lang.String thread) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getPassword()
Gets a password needed for entry into a password-protected room (optional).
|
java.lang.String |
getReason()
Gets a human-readable purpose for the invitation (optional).
|
Jid |
getRoomAddress()
Gets the address of the groupchat room to be joined.
|
java.lang.String |
getThread()
Gets the thread of the one-to-one chat, which is continued (optional).
|
boolean |
isContinue()
Indicates, if the groupchat room continues a one-to-one chat.
|
public static final java.lang.String NAMESPACE
jabber:x:conference
public DirectInvitation(Jid jid)
public DirectInvitation(Jid jid, java.lang.String password, java.lang.String reason)
public DirectInvitation(Jid jid, java.lang.String password, java.lang.String reason, boolean isContinue, java.lang.String thread)
public boolean isContinue()
Indicates, if the groupchat room continues a one-to-one chat.
public java.lang.String getThread()
Gets the thread of the one-to-one chat, which is continued (optional).
public java.lang.String getReason()
Gets a human-readable purpose for the invitation (optional).
public java.lang.String getPassword()
Gets a password needed for entry into a password-protected room (optional).
public Jid getRoomAddress()
Gets the address of the groupchat room to be joined.
Copyright © 2014–2019 XMPP.rocks. All rights reserved.