Get the key of a target for an action.
#include <bps/navigator_invoke.h>
BPS_API const char* navigator_invoke_query_result_target_get_key(const navigator_invoke_query_result_target_t *target)
BlackBerry 10.0.0
The navigator_invoke_query_result_target_t structure whose key member you want to retrieve.
The navigator_invoke_query_result_target_get_key() function extracts the target key of a given navigator_invoke_query_result_target_t structure. The key member is an identifier to a target (as stated in its BAR manifest) that is capable of performing the specified action. This function doesn't copy members and the returned values are released once the bps_get_event() function is called again. You must call this function to display returned target value(s).
Example: "com.example.invoke.target"
The location key of the given target, in the "[Domain][Sub-domain]" format (see description for further information), NULL otherwise.