Register your app with the BBM Social Platform.
#include <bbmsp/bbmsp.h>
BBMSP_API bbmsp_result_t bbmsp_register_silent(const char *const uuid)
BlackBerry 10.2.0
A pointer to your app's UUID. uuid must be a null-terminated C-string, encoded as UTF-8.
A UUID is a unique, 128-bit, 36-character identifier that you generate for your app using a UUID (or GUID) generator. The UUID string must conform to the Microsoft 8-4-4-4-12 format (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx). Valid characters consist of hexadecimal values in the ranges 0 to 9 and a to f.
Registration takes place in "silent" mode so that the registration progress dialog does not appear to the user after you invoke this function. Once registration is complete, a system toast appears to indicate to the user that your application is now connected to BBM. If registration does not complete successfully, no system dialog is displayed to inform the user about the reason for failure.
If permission to connect to BBM is not set up when registration starts, the user may decide to set up BBM. This action will cause registration to resume.
This is an asynchronous request. The response will be an event with category BBMSP_REGISTRATION and event type BBMSP_SP_EVENT_ACCESS_CHANGED.
BBMSP_ASYNC if the request was sent successfully, BBMSP_FAILURE otherwise.