Retrieve the invocation structure pointer from the BPS event.
#include <bps/navigator_invoke.h>
BPS_API const navigator_invoke_invocation_t* navigator_invoke_event_get_invocation(bps_event_t *event)
BlackBerry 10.0.0
The NAVIGATOR_INVOKE_TARGET event to extract the invocation from.
The navigator_invoke_event_get_invocation() function extracts the invocation properties from a navigator_invoke_invocation_t structure sent with the navigator_invoke_invocation_send() function. You should call this function upon receiving the NAVIGATOR_INVOKE_TARGET event from the event handler to perform the task defined by the invocation.
"Ownership" of an event is not transferred to a handler upon its invocation. A handler must not call the navigator_invoke_invocation_destroy() function on invocation pointers that are retrieved using the navigator_invoke_event_get_invocation() function. The pointer to the navigator_invoke_invocation_t structure is valid until the bps_get_event() function is called again.
A pointer to the navigator_invoke_invocation_t structure on success, NULL on failure with errno set.