FileDocCategorySizeDatePackage
ContactListListenerAdapter.javaAPI DocAndroid 1.5 API2250Wed May 06 22:42:46 BST 2009com.android.im.app.adapter

ContactListListenerAdapter

public class ContactListListenerAdapter extends IContactListListener.Stub

Fields Summary
private static final String
TAG
private final com.android.im.app.SimpleAlertHandler
mHandler
Constructors Summary
public ContactListListenerAdapter(com.android.im.app.SimpleAlertHandler handler)


       
        mHandler = handler;
    
Methods Summary
public voidonAllContactListsLoaded()

        if (Log.isLoggable(TAG, Log.DEBUG)) {
            Log.d(TAG, "onAllContactListsLoaded");
        }
    
public voidonContactChange(int type, com.android.im.IContactList list, com.android.im.engine.Contact contact)

        if (Log.isLoggable(TAG, Log.DEBUG)) {
            Log.d(TAG, "onContactListChanged(" + type + ", " + list + ", "
                    + contact + ")");
        }
    
public voidonContactError(int errorType, com.android.im.engine.ImErrorInfo error, java.lang.String listName, com.android.im.engine.Contact contact)

        if (Log.isLoggable(TAG, Log.DEBUG)) {
            Log.d(TAG, "onContactError(" + errorType + ", " + error + ", "
                    + listName + ", " + contact + ")");
        }
        mHandler.showContactError(errorType, error, listName, contact);
    
public voidonContactsPresenceUpdate(com.android.im.engine.Contact[] contacts)

        if (Log.isLoggable(TAG, Log.DEBUG)) {
            Log.d(TAG, "onContactsPresenceUpdate(" + contacts.length + ")");
        }