Determines whether data validation was successful for a provided push_payload_t structure.
#include <bbpush/push_payload.h>
bool push_payload_is_valid(const push_payload_t *push_payload)
BlackBerry 10.2.0
A pointer to the push_payload_t structure whose valid member you want to retrieve.
The push_payload_is_valid() function extracts the valid flag of a given push_payload_t structure. This flag indicates whether or not data validation is successful. Your application should call this function before calling push_payload_get_data() and push_payload_get_data_length().
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.
true if the push notification data is valid, false otherwise