|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ContactEventListener
Listener interface to react to contact manager events.
Field Summary | |
---|---|
static int |
EVENT_CONTACT_ADDED
This event indicates that a new contact has been added to the contact list. |
static int |
EVENT_CONTACT_MODIFIED
This event indicates that a contact has been modified. |
static int |
EVENT_CONTACT_REMOVED
This event indicates that a contact has been removed from the contact list. |
static int |
EVENT_FIELD_DESCRIPTOR_ADDED
This event indicates that a new field descriptor has been added. |
static int |
EVENT_FIELD_DESCRIPTOR_MODIFIED
This event indicates that a field descriptor has been modified. |
static int |
EVENT_FIELD_DESCRIPTOR_REMOVED
This event indicates that a field descriptor has been removed. |
static int |
EVENT_GROUP_ADDED
This event indicates that a new group has been added to the groups list. |
static int |
EVENT_GROUP_CONTACT_ADDED
This event indicates that a new contact has been added to a group. |
static int |
EVENT_GROUP_CONTACT_REMOVED
This event indicates that a contact has been removed from a group. |
static int |
EVENT_GROUP_REMOVED
This event indicates that a group has been removed from the groups list. |
Method Summary | |
---|---|
void |
contactModified(int event,
int contactIdentifier)
contactModified is called when a contact is added/removed/updated in the contact list. |
void |
fieldDescriptorModified(int event,
int fieldDescriptorIdentifier)
fieldDescriptorModified is called when a field descriptor is added/removed/updated from the field descriptor list. |
void |
groupModified(int event,
int groupIdentifier,
int contactIdentifier)
groupModified is called when a group is added/removed/updated in the groups list or when a contact is added/removed from any group in the groups list. |
Field Detail |
---|
static final int EVENT_CONTACT_ADDED
static final int EVENT_CONTACT_MODIFIED
static final int EVENT_CONTACT_REMOVED
static final int EVENT_GROUP_ADDED
static final int EVENT_GROUP_REMOVED
static final int EVENT_GROUP_CONTACT_ADDED
static final int EVENT_GROUP_CONTACT_REMOVED
static final int EVENT_FIELD_DESCRIPTOR_ADDED
static final int EVENT_FIELD_DESCRIPTOR_MODIFIED
static final int EVENT_FIELD_DESCRIPTOR_REMOVED
Method Detail |
---|
void contactModified(int event, int contactIdentifier)
event
- represents the type of event that occurs:contactIdentifier
- represent the id of the contact modifiedvoid groupModified(int event, int groupIdentifier, int contactIdentifier)
event
- represents the type of event that occurs:groupIdentifier
- represents the id of the group that is added,removed or modifiedcontactIdentifier
- represents the id of the contact that is added or removed from the groupvoid fieldDescriptorModified(int event, int fieldDescriptorIdentifier)
event
- represents the type of event that occurs:fieldDescriptorIdentifier
- represents the id of the modified field descriptor
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |