|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface GoogleContactsService
Google Contacts service.
| Method Summary | |
|---|---|
void |
addContactSource(GoogleContactsConnection cnx,
boolean googleTalk)
Add a contact source service with the specified GoogleContactsConnection. |
void |
addContactSource(String login,
String password)
Add a contact source service with the specified GoogleContactsConnection. |
GoogleContactsConnection |
getConnection(String login,
String password)
Get a GoogleContactsConnection. |
List<GoogleContactsEntry> |
getContacts()
Get the full contacts list. |
void |
removeContactSource(GoogleContactsConnection cnx)
Remove a contact source service with the specified GoogleContactsConnection. |
void |
removeContactSource(String login)
Remove a contact source service with the specified GoogleContactsConnection. |
List<GoogleContactsEntry> |
searchContact(GoogleContactsConnection cnx,
GoogleQuery query,
int count,
GoogleEntryCallback callback)
Perform a search for a contact using regular expression. |
| Method Detail |
|---|
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 found
GoogleContactsConnection getConnection(String login,
String password)
login - login to connect to the servicepassword - password to connect to the service
List<GoogleContactsEntry> getContacts()
void addContactSource(String login,
String password)
login - loginpassword - password
void 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(String login)
login - login
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||