ContactListListenerpublic interface ContactListListener Interfaces that allows the implementing classes to listen to contact list
relative events. Listeners are registered with ContactListManager. |
Fields Summary |
---|
public static final int | LIST_CREATED | public static final int | LIST_DELETED | public static final int | LIST_LOADED | public static final int | LIST_RENAMED | public static final int | LIST_CONTACT_ADDED | public static final int | LIST_CONTACT_REMOVED | public static final int | CONTACT_BLOCKED | public static final int | CONTACT_UNBLOCKED | public static final int | ERROR_CREATING_LIST | public static final int | ERROR_DELETING_LIST | public static final int | ERROR_RENAMING_LIST | public static final int | ERROR_LOADING_LIST | public static final int | ERROR_LOADING_BLOCK_LIST | public static final int | ERROR_RETRIEVING_PRESENCE | public static final int | ERROR_ADDING_CONTACT | public static final int | ERROR_REMOVING_CONTACT | public static final int | ERROR_BLOCKING_CONTACT | public static final int | ERROR_UNBLOCKING_CONTACT |
Methods Summary |
---|
public void | onAllContactListsLoaded()Called when all the contact lists (including the block list) and
contacts have been loaded from the server.
| public void | onContactChange(int type, ContactList list, Contact contact)Called when:
- a contact list has been created, deleted, renamed or loaded, or
- a contact has been added to or removed from a list, or
- a contact has been blocked or unblocked
| public void | onContactError(int errorType, ImErrorInfo error, java.lang.String listName, Contact contact)
| public void | onContactsPresenceUpdate(Contact[] contacts)Called when received one or more contacts' updated presence
information from the server.
|
|