public class ChatRoomSourceContact extends BaseChatRoomSourceContact
parentQuery
contactDetails
DATA_ID
Constructor and Description |
---|
ChatRoomSourceContact(ChatRoom chatRoom,
ChatRoomQuery query,
boolean isAutoJoin)
Constructs new chat room source contact.
|
ChatRoomSourceContact(java.lang.String chatRoomName,
java.lang.String chatRoomID,
ChatRoomQuery query,
ProtocolProviderService pps,
boolean isAutoJoin)
Constructs a new chat room source contact.
|
Modifier and Type | Method and Description |
---|---|
int |
getIndex()
Returns the index of this source contact in its parent group.
|
boolean |
isAutoJoin()
Returns the auto join state of the contact.
|
void |
setAutoJoin(boolean isAutoJoin)
Sets the auto join state of the contact.
|
getChatRoomID, getChatRoomName, getProvider, initContactProperties
compareTo
getContactAddress, getContactDetails, getContactDetails, getContactDetails, getContactSource, getDisplayDetails, getDisplayName, getImage, getPreferredContactDetail, getPresenceStatus, isDefaultImage, setContactAddress, setDisplayDetails, setDisplayName, setImage, setPresenceStatus
getData, setData
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getData, setData
public ChatRoomSourceContact(java.lang.String chatRoomName, java.lang.String chatRoomID, ChatRoomQuery query, ProtocolProviderService pps, boolean isAutoJoin)
chatRoomName
- the name of the chat room associated with the room.chatRoomID
- the id of the chat room associated with the room.query
- the query associated with the contact.pps
- the protocol provider of the contact.isAutoJoin
- the auto join state.public ChatRoomSourceContact(ChatRoom chatRoom, ChatRoomQuery query, boolean isAutoJoin)
chatRoom
- the chat room associated with the contact.query
- the query associated with the contact.isAutoJoin
- the auto join statepublic int getIndex()
getIndex
in interface SourceContact
getIndex
in class BaseChatRoomSourceContact
public boolean isAutoJoin()
public void setAutoJoin(boolean isAutoJoin)
isAutoJoin
- the auto join state to be set.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.