push_payload_get_data_length()

Get the length of the push notification data from a push_payload_t structure.

Synopsis:

#include <bbpush/push_payload.h>
 
int push_payload_get_data_length(const push_payload_t *push_payload)

Since:

BlackBerry 10.2.0

Arguments:

push_payload

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

Library:

libPushService

Description:

The push_payload_get_data_length() function extracts the length of the push notification 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 length of the push notification data.

Last modified: 2013-12-21

comments powered by Disqus