Determine whether access to the BBM Social Platform is allowed.
#include <bbmsp/bbmsp_context.h>
BBMSP_API int bbmsp_event_access_changed_get_access_allowed(bbmsp_event_t *event)
BlackBerry 10.0.0
A pointer to the bbmsp event that was triggered when access changed.
When you receive a BBMSP_REGISTRATION category event of type BBMSP_SP_EVENT_ACCESS_CHANGED, you use this function to determine if your app has access to the BBM Social Platform. If you receive a status of BBMSP_ACCESS_ALLOWED, this function returns 1, 0 otherwise.
1 if access is BBMSP_ACCESS_ALLOWED, 0 otherwise.