public interface ContactSourceService
Modifier and Type | Field and Description |
---|---|
static int |
CONTACT_LIST_TYPE
Type of a contact list source.
|
static int |
DEFAULT_TYPE
Type of a default source.
|
static int |
HISTORY_TYPE
Type of a history source.
|
static int |
SEARCH_TYPE
Type of a search source.
|
Modifier and Type | Method and Description |
---|---|
ContactQuery |
createContactQuery(java.lang.String queryString)
Creates and returns new ContactQuery instance.
|
ContactQuery |
createContactQuery(java.lang.String queryString,
int contactCount)
Creates and returns new ContactQuery instance.
|
java.lang.String |
getDisplayName()
Returns a user-friendly string that identifies this contact source.
|
int |
getIndex()
Returns the index of the contact source in the result list.
|
int |
getType()
Returns the type of this contact source.
|
static final int DEFAULT_TYPE
static final int SEARCH_TYPE
static final int HISTORY_TYPE
static final int CONTACT_LIST_TYPE
int getType()
java.lang.String getDisplayName()
ContactQuery createContactQuery(java.lang.String queryString)
queryString
- the string to search forContactQuery createContactQuery(java.lang.String queryString, int contactCount)
queryString
- the string to search forcontactCount
- the maximum count of result contactsint getIndex()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.