Creates a session between the application and the PNS Agent.
#include <bbpush/push_service.h>
int push_service_create_session(push_service_t *ps, push_callback_t cb_func)
BlackBerry 10.2.0
A pointer to the push_service_t structure used to create the request.
Callback in response to push_service_create_session(). This callback contains a status_code parameter to specify the failure condition. This callback function cannot be NULL.
Creating a session sets up inter-process communication between the application and the PNS Agent. This must be called every time the application is launched.
PUSH_SUCCESS upon success, PUSH_FAILURE with errno set otherwise.