BBM Social Platform events

The BBM Social Platform uses an event-driven programming model. Each event that is generated is associated with a category that represents the API that generated the event (for example, contactlist or userprofile). In addition, each category is associated with an event type that represents the specific event that occurred, for example, an event associated with registration or the user's profile. Events can also have data (payload) associated with them.

Event Details

Registration

Category

  • BBMSP_REGISTRATION = 0

    Notifications about your app's access status and other permissions to the BBM Social Platform

Type

  • BBMSP_SP_EVENT_ACCESS_CHANGED = 0

    Indicates a change to the access status of your app.

User profile

Category

  • BBMSP_USER_PROFILE = 1

    Notifications about a user's BBM profile

Type

  • BBMSP_SP_EVENT_PROFILE_CHANGED = 1

    Indicates a change to a user's BBM profile.

Contact list

Category

  • BBMSP_CONTACT_LIST = 3

    Notifications about a user's BBM contact list

Type

  • BBMSP_SP_EVENT_CONTACT_CHANGED = 2

    Indicates a change to a contact's BBM contact list.

  • BBMSP_SP_EVENT_CONTACT_LIST_FULL = 3

    Indicates that the retrieval of a contact list completed.

User profile box

Category

  • BBMSP_USER_PROFILE_BOX = 4

    Notifications about the profile box for your app

Type

  • BBMSP_SP_EVENT_USER_PROFILE_BOX_ITEM_ADDED = 13

    Indicates that an item has been added to the app's profile box.

  • BBMSP_SP_EVENT_USER_PROFILE_BOX_ITEM_REMOVED = 14

    Indicates that an item has been removed from the app's profile box.

  • BBMSP_SP_EVENT_USER_PROFILE_BOX_ICON_ADDED = 15

    Indicates that an icon has been added to the app's profile box.

  • BBMSP_SP_EVENT_USER_PROFILE_BOX_ICON_RETRIEVED = 17

    Indicates that an icon has been retrieved from the app's profile box.

Reserved

Category

  • BBMSP_RESERVED = 128

    Specifies that category event values greater than 128 are reserved for internal use.

Type

  • BBMSP_SP_EVENT_RESERVED = 128

    Indicates the maximum number of event values that are available for public use.