public final class DirectInvitation extends Object
<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 String |
NAMESPACE
jabber:x:conference
|
| Constructor and Description |
|---|
DirectInvitation(Jid jid) |
DirectInvitation(Jid jid,
String password,
String reason) |
DirectInvitation(Jid jid,
String password,
String reason,
boolean isContinue,
String thread) |
| Modifier and Type | Method and Description |
|---|---|
String |
getPassword()
Gets a password needed for entry into a password-protected room (optional).
|
String |
getReason()
Gets a human-readable purpose for the invitation (optional).
|
Jid |
getRoomAddress()
Gets the address of the groupchat room to be joined.
|
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 String NAMESPACE
public DirectInvitation(Jid jid)
public boolean isContinue()
public String getThread()
public String getReason()
public String getPassword()
public Jid getRoomAddress()
Copyright © 2014–2016 XMPP.rocks. All rights reserved.