public class UserSearchContactSource extends java.lang.Object implements ContactSourceService
Modifier and Type | Field and Description |
---|---|
static long |
QUERY_DELAY
The time to wait before actually start the searching.
|
CONTACT_LIST_TYPE, DEFAULT_TYPE, HISTORY_TYPE, SEARCH_TYPE
Constructor and Description |
---|
UserSearchContactSource() |
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.
|
public static final long QUERY_DELAY
public int getType()
getType
in interface ContactSourceService
public java.lang.String getDisplayName()
ContactSourceService
getDisplayName
in interface ContactSourceService
public ContactQuery createContactQuery(java.lang.String queryString)
ContactSourceService
createContactQuery
in interface ContactSourceService
queryString
- the string to search forpublic ContactQuery createContactQuery(java.lang.String queryString, int contactCount)
ContactSourceService
createContactQuery
in interface ContactSourceService
queryString
- the string to search forcontactCount
- the maximum count of result contactspublic int getIndex()
ContactSourceService
getIndex
in interface ContactSourceService
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.