public class ContactReceivedEvent
extends java.util.EventObject
Constructor and Description |
---|
ContactReceivedEvent(ContactQuery source,
SourceContact contact)
Creates a ContactReceivedEvent by specifying the contact search
source and the received searchContact.
|
ContactReceivedEvent(ContactQuery source,
SourceContact contact,
boolean showMoreEnabled)
Creates a ContactReceivedEvent by specifying the contact search
source and the received searchContact.
|
Modifier and Type | Method and Description |
---|---|
SourceContact |
getContact()
Returns the received contact.
|
ContactQuery |
getQuerySource()
Returns the ContactQuery that triggered this event.
|
boolean |
isShowMoreEnabled()
Returns true if show more label should be shown and
false if not.
|
public ContactReceivedEvent(ContactQuery source, SourceContact contact)
source
- the source that triggered this eventcontact
- the received contactpublic ContactReceivedEvent(ContactQuery source, SourceContact contact, boolean showMoreEnabled)
source
- the source that triggered this eventcontact
- the received contactshowMoreEnabled
- indicates whether show more label should be shown
or not.public ContactQuery getQuerySource()
public SourceContact getContact()
public boolean isShowMoreEnabled()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.