push_service_accept_push()
Call this API if you want your app to accept a push from the server.
Synopsis:
#include <bbpush/push_service.h>
int push_service_accept_push(push_service_t *ps, const char *payload_id)
Since:
BlackBerry 10.2.0
Arguments:
- ps
-
A pointer to the push_service_t structure used to create the request.
- payload_id
-
Unique identifier of the push notification which is stored in the push_payload_t structure.
Library:
libPushService (For the qcc command, use the -l PushService option to link against this library)Description:
This call is required when the push data indicates that it requires application-level acknowledgment for the push.
Returns:
PUSH_SUCCESS upon success, PUSH_FAILURE with errno set otherwise.
Last modified: 2014-05-14