bbmsp_is_access_allowed()

Determine whether access to the BBM Social Platform is allowed.

Synopsis:

#include <bbmsp/bbmsp_context.h>
 
BBMSP_API int bbmsp_is_access_allowed(void)

Since:

BlackBerry 10.0.0

Arguments:

Library:

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

Description:

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.

Returns:

1 if BBMSP_ACCESS_ALLOWED, 0 otherwise.

Last modified: 2014-05-14



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

comments powered by Disqus