push_payload_get_headers_length()

Get the number of the push headers from a push_payload_t structure.

Synopsis:

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

Since:

BlackBerry 10.2.0

Arguments:

push_payload

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

Library:

libPushService

Description:

The push_payload_get_headers_length() function extracts the length of the push headers of a given push_payload_t structure.

To access a specific header, use the push_payload_get_header() function. 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 number of push headers received with the push content.

Last modified: 2013-12-21

comments powered by Disqus