public interface IContact extends IBasePIM
| Modifier and Type | Method and Description |
|---|---|
void |
getContact(ContactUid contact,
IContactResultCallback callback)
Get all the details of a contact according to its id
|
void |
getContactPhoto(ContactUid contact,
IContactPhotoResultCallback callback)
Get the contact photo
|
void |
getContacts(IContactResultCallback callback)
Get all contacts
|
void |
getContactsForFields(IContactResultCallback callback,
IContactFieldGroup[] fields)
Get marked fields of all contacts
|
void |
getContactsWithFilter(IContactResultCallback callback,
IContactFieldGroup[] fields,
IContactFilter[] filter)
Get marked fields of all contacts according to a filter
|
void |
searchContacts(java.lang.String term,
IContactResultCallback callback)
Search contacts according to a term and send it to the callback
|
void |
searchContactsWithFilter(java.lang.String term,
IContactResultCallback callback,
IContactFilter[] filter)
Search contacts according to a term with a filter and send it to the callback
|
boolean |
setContactPhoto(ContactUid contact,
byte[] pngImage)
Set the contact photo
|
getAPIGroup, getAPIVersionvoid getContactPhoto(ContactUid contact, IContactPhotoResultCallback callback)
contact - id to search forcallback - called for returnvoid getContact(ContactUid contact, IContactResultCallback callback)
contact - id to search forcallback - called for returnvoid getContactsForFields(IContactResultCallback callback, IContactFieldGroup[] fields)
callback - called for returnfields - to get for each Contactvoid getContactsWithFilter(IContactResultCallback callback, IContactFieldGroup[] fields, IContactFilter[] filter)
callback - called for returnfields - to get for each Contactfilter - to search forvoid getContacts(IContactResultCallback callback)
callback - called for returnvoid searchContactsWithFilter(java.lang.String term,
IContactResultCallback callback,
IContactFilter[] filter)
term - string to searchcallback - called for returnfilter - to search forvoid searchContacts(java.lang.String term,
IContactResultCallback callback)
term - string to searchcallback - called for returnboolean setContactPhoto(ContactUid contact, byte[] pngImage)
contact - id to assign the photopngImage - photo as byte array