Get the target from an invocation.
#include <bps/navigator_invoke.h>
BPS_API const char* navigator_invoke_invocation_get_target(const navigator_invoke_invocation_t *invocation)
BlackBerry 10.0.0
A pointer to the navigator_invoke_invocation_t structure whose target member you want to retrieve.
The navigator_invoke_invocation_get_target() function extracts the target of a given navigator_invoke_invocation_t structure. The target member is used by the invocation framework to identify the target application or card meant to perform an action based on the invocation (see the navigator_invoke_invocation_set_target() function for further details). This function doesn't copy members and the returned values are released once the navigator_invoke_invocation_t structure is destroyed with the navigator_invoke_invocation_destroy() function.
The invocation target if one was provided by the sender, NULL otherwise.