public interface GoogleContactsService
Modifier and Type | Method and Description |
---|---|
void |
addContactSource(GoogleContactsConnection cnx,
boolean googleTalk)
Add a contact source service with the specified
GoogleContactsConnection.
|
void |
addContactSource(java.lang.String login)
Add a contact source service with the specified
GoogleContactsConnection.
|
GoogleContactsConnection |
getConnection(java.lang.String login)
Get a GoogleContactsConnection.
|
java.util.List<GoogleContactsEntry> |
getContacts()
Get the full contacts list.
|
void |
removeContactSource(GoogleContactsConnection cnx)
Remove a contact source service with the specified
GoogleContactsConnection.
|
void |
removeContactSource(java.lang.String login)
Remove a contact source service with the specified
GoogleContactsConnection.
|
java.util.List<GoogleContactsEntry> |
searchContact(GoogleContactsConnection cnx,
GoogleQuery query,
int count,
GoogleEntryCallback callback)
Perform a search for a contact using regular expression.
|
java.util.List<GoogleContactsEntry> searchContact(GoogleContactsConnection cnx, GoogleQuery query, int count, GoogleEntryCallback callback)
cnx
- GoogleContactsConnection to perform the queryquery
- Google querycount
- maximum number of matched contactscallback
- object that will be notified for each new
GoogleContactsEntry foundGoogleContactsConnection getConnection(java.lang.String login)
login
- login to connect to the servicejava.util.List<GoogleContactsEntry> getContacts()
void addContactSource(java.lang.String login)
login
- loginvoid addContactSource(GoogleContactsConnection cnx, boolean googleTalk)
cnx
- GoogleContactsConnectiongoogleTalk
- if the contact source has been created as GoogleTalk
account or via external Google Contactsvoid removeContactSource(GoogleContactsConnection cnx)
cnx
- GoogleContactsConnection.void removeContactSource(java.lang.String login)
login
- login
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.