push_payload_is_ack_required()

Get whether an acknowledgment is required for the specified push_payload_t structure.

Synopsis:

#include <bbpush/push_payload.h>
 
bool push_payload_is_ack_required(const push_payload_t *push_payload)

Since:

BlackBerry 10.2.0

Arguments:

push_payload

A pointer to the push_payload_t structure whose ackRequired member you want to retrieve.

Library:

libPushService (For the qcc command, use the -l PushService option to link against this library)

Description:

The push_payload_is_ack_required() function extracts the acknowledgment required flag of a given push_payload_t structure. This flag indicates whether an acknowledgment is required for this push message.

This function doesn't copy members, and the returned values are released once the push_payload_t structure is destroyed with the push_payload_destroy() function.

Returns:

true if application level acknowledgment is required, false otherwise. Your application must invoke the push_service_accept_push() function if this function returns true.