Get the number of target values in an action.
#include <bps/navigator_invoke.h>
BPS_API int navigator_invoke_query_result_action_get_target_count(const navigator_invoke_query_result_action_t *action)
BlackBerry 10.0.0
The navigator_invoke_query_result_action_t structure holding the target values.
The invoke_get_query_result_target_count() function extracts the number of navigator_invoke_query_result_target_t structures contained within a navigator_invoke_query_result_action_t structure. The navigator_invoke_query_result_target_t target structures contained are considered viable targets to perform the given action.
The number of targets inside the action, -1 otherwise.