net.rim.blackberry.api.bbm.platform.profile
Interface PresenceListener


public interface PresenceListener


Field Summary
static int EVENT_TYPE_DISPLAY_NAME
          Display Name Update
static int EVENT_TYPE_DISPLAY_PICTURE
          Display Picture Update
static int EVENT_TYPE_INSTALL_APP
          Installs Application It also includes when user unblocks application
static int EVENT_TYPE_INVITATION_RECEIVED
          User receives invitation to join application
static int EVENT_TYPE_PERSONAL_MESSAGE
          Personal Message Update
static int EVENT_TYPE_STATUS
          Status Update (Available/Busy) Status Message Update
static int EVENT_TYPE_UNINSTALL_APP
          Uninstalls Applications It also include when user blocks application
 
Method Summary
 void contactUpdated(BBMPlatformContact contact, int eventType)
          Gets called when presence changes
 void userUpdated(UserProfile user, int eventType)
          Gets called when user's presence changes
 

Field Detail

EVENT_TYPE_DISPLAY_NAME

public static final int EVENT_TYPE_DISPLAY_NAME
Display Name Update
Since:
BBM SDK 1.0

EVENT_TYPE_DISPLAY_PICTURE

public static final int EVENT_TYPE_DISPLAY_PICTURE
Display Picture Update
Since:
BBM SDK 1.0

EVENT_TYPE_INSTALL_APP

public static final int EVENT_TYPE_INSTALL_APP
Installs Application It also includes when user unblocks application
Since:
BBM SDK 1.0

EVENT_TYPE_INVITATION_RECEIVED

public static final int EVENT_TYPE_INVITATION_RECEIVED
User receives invitation to join application
Since:
BBM SDK 1.0

EVENT_TYPE_PERSONAL_MESSAGE

public static final int EVENT_TYPE_PERSONAL_MESSAGE
Personal Message Update
Since:
BBM SDK 1.0

EVENT_TYPE_STATUS

public static final int EVENT_TYPE_STATUS
Status Update (Available/Busy) Status Message Update
Since:
BBM SDK 1.0

EVENT_TYPE_UNINSTALL_APP

public static final int EVENT_TYPE_UNINSTALL_APP
Uninstalls Applications It also include when user blocks application
Since:
BBM SDK 1.0
Method Detail

contactUpdated

public void contactUpdated(BBMPlatformContact contact,
                           int eventType)
Gets called when presence changes
Parameters:
contact - Contact whose presence just changed
eventType - defined in PresenceListener
Since:
BBM SDK 1.0

userUpdated

public void userUpdated(UserProfile user,
                        int eventType)
Gets called when user's presence changes
Parameters:
user - current BBM user
eventType - defined in PresenceListener
Since:
BBM SDK 1.0



Copyright 1999- Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.