bbmsp_event_access_changed_get_access_allowed()

Determine whether access to the BBM Social Platform is allowed.

Synopsis:

#include <bbmsp/bbmsp_context.h>
 
BBMSP_API int bbmsp_event_access_changed_get_access_allowed(bbmsp_event_t *event)

Since:

BlackBerry 10.0.0

Arguments:

event

A pointer to the bbmsp event that was triggered when access changed.

Library:

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

Description:

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.

Returns:

1 if access is BBMSP_ACCESS_ALLOWED, 0 otherwise.