Determine whether access to the BBM Social Platform is allowed.
#include <bbmsp/bbmsp_context.h>
BBMSP_API int bbmsp_is_access_allowed(void)
BlackBerry 10.0.0
On startup, this function returns 0. After the BBM Social Platform determines your app's access status, your app receives a BBMSP_REGISTRATION category event of type BBMSP_SP_EVENT_ACCESS_CHANGED. After you receive this event, you can use this function again to retrieve the current access status.
The value returned by this function will reflect the latest access status.
1 if BBMSP_ACCESS_ALLOWED, 0 otherwise.