push_payload_get_id()

Get the push ID from a push_payload_t structure.

Synopsis:

#include <bbpush/push_payload.h>
 
const char* push_payload_get_id(const push_payload_t *push_payload)

Since:

BlackBerry 10.2.0

Arguments:

push_payload

A pointer to the push_payload_t structure whose id 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_get_id() function extracts the push ID of a given push_payload_t structure. 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:

The push identifier.