BBM Social Platform events

The BBM Social Platform uses an event-driven programming model. Each event is associated with a category that represents the API that generated it (for example, contactlist or userprofile). Each event 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 Event Category Event Type

Registration

BBMSP_REGISTRATION = 0

Provides notifications about your app's access status to the BBM Social Platform and setup permissions.

BBMSP_SP_EVENT_ACCESS_CHANGED = 0

Indicates a change to the access status of your app.

User profile

BBMSP_USER_PROFILE = 1

Provides notifications about a user's BBM profile.

BBMSP_SP_EVENT_PROFILE_CHANGED = 1

Indicates a change to a user's BBM profile.

Contact list

BBMSP_CONTACT_LIST = 3

Provides notifications about a user's BBM contact list.

  • 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

BBMSP_USER_PROFILE_BOX = 4

Provides notifications about the profile box for your app.

  • 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

BBMSP_RESERVED = 128

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

BBMSP_SP_EVENT_RESERVED = 128

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

Last modified: 2014-05-14



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus