bbmsp_get_access_code()

Retrieve your app's current access status to the BBM Social Platform.

Synopsis:

#include <bbmsp/bbmsp_context.h>
 
BBMSP_API bbmsp_access_error_codes_t bbmsp_get_access_code(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 will return BBMSP_ACCESS_UNKNOWN. After the BBM Social Platform determines your 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 reflects the latest access status.

Returns:

The access status code.