Call this API if you want your app to accept a push from the server.
#include <bbpush/push_service.h>
int push_service_accept_push(push_service_t *ps, const char *payload_id)
BlackBerry 10.2.0
A pointer to the push_service_t structure used to create the request.
Unique identifier of the push notification which is stored in the push_payload_t structure.
This call is required when the push data indicates that it requires application-level acknowledgment for the push.
PUSH_SUCCESS upon success, PUSH_FAILURE with errno set otherwise.