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

Description:

This call is required when the push data indicates that it requires application-level acknowledgement for the push.

See push_payload_is_ack_required().

Returns:

PUSH_SUCCESS upon success, PUSH_FAILURE with errno set otherwise.

Last modified: 2013-12-21

comments powered by Disqus