bps_event_get_payload()

Get a pointer to an event's payload.

Synopsis:

#include <bps/event.h>
 
BPS_API bps_event_payload_t* bps_event_get_payload(bps_event_t *event)

Since:

BlackBerry 10.0.0

Arguments:

event

The event to get the payload for.

Library:

libbps (For the qcc command, use the -l bps option to link against this library)

Description:

The bps_event_get_payload() function gets a pointer to the payload of a bps_event_t event.

Returns:

A pointer to the event's payload.