push_payload_get_data()

Get the data that the push-enabled application received from a push_payload_t structure.

Synopsis:

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

Since:

BlackBerry 10.2.0

Arguments:

push_payload

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

Library:

libPushService

Description:

The push ID is the unique identifier that is given to a specific push request by the content provider when they send the push request. The push_payload_get_data() function extracts the push data 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 data that the push-enabled application received.

Last modified: 2013-12-21

comments powered by Disqus