Get the number of the push headers from a push_payload_t structure.
#include <bbpush/push_payload.h>
int push_payload_get_headers_length(const push_payload_t *push_payload)
BlackBerry 10.2.0
A pointer to the push_payload_t structure whose headersLength member you want to retrieve.
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.
The number of push headers received with the push content.