bbmsp_presence_update_types_t

The types of updates that a user or a contact can make to their BBM profile.

Synopsis:

#include <bbmsp/bbmsp_presence.h>
 
typedef enum {
      BBMSP_DISPLAY_NAME = 1 << 0   
      BBMSP_DISPLAY_PICTURE = 1 << 1   
      BBMSP_PERSONAL_MESSAGE = 1 << 2   
      BBMSP_STATUS = 1 << 3   
      BBMSP_INSTALL_APP = 1 << 4   
      BBMSP_UNINSTALL_APP = 1 << 5   
} bbmsp_presence_update_types_t;

Since:

BlackBerry 10.0.0

Data:

BBMSP_DISPLAY_NAME
Indicates that the display name has changed.

Since: BlackBerry 10.0.0

BBMSP_DISPLAY_PICTURE
Indicates that the display picture has changed.

Since: BlackBerry 10.0.0

BBMSP_PERSONAL_MESSAGE
Indicates that the personal message has changed.

Since: BlackBerry 10.0.0

BBMSP_STATUS
Indicates that the status has changed.

Since: BlackBerry 10.0.0

BBMSP_INSTALL_APP
Indicates that your app was installed/enabled.

Since: BlackBerry 10.0.0

BBMSP_UNINSTALL_APP
Indicates that your app was uninstalled/disabled.

Since: BlackBerry 10.0.0

Library:

libbbmsp (For the qcc command, use the -l bbmsp option to link against this library)

Description:

After receiving an event belonging to the BBMSP_USER_PROFILE category and an event type of BBMSP_SP_EVENT_PROFILE_CHANGED, use bbmsp_event_profile_changed_get_presence_update_type() to retrieve the bbmsp_presence_update_types_t instance that describes the update. After receiving an event belonging to the BBMSP_CONTACT_LIST category with an event type of BBMSP_SP_EVENT_CONTACT_CHANGED, use bbmsp_event_contact_changed_get_presence_update_type() to retrieve the bbmsp_presence_update_types_t instance that describes the update.