Get the number of action values in an invocation query result.
#include <bps/navigator_invoke.h>
BPS_API int navigator_invoke_event_get_query_result_action_count(bps_event_t *event)
BlackBerry 10.0.0
The NAVIGATOR_INVOKE_QUERY_RESULT event targeted by the query result.
The navigator_invoke_event_get_query_result_action_count() function extracts the number of navigator_invoke_query_result_action_t structure results that are returned from an invocation query. The navigator_invoke_query_result_action_t action structures returned are considered viable actions based on the information supplied through the navigator_invoke_query_t structure that invoked the query. Call this function from an event handler upon receiving the NAVIGATOR_INVOKE_QUERY_RESULT event to determine how many viable actions were returned. You can use this value to create a loop of the returned values.
The number of actions inside the invocation query result, -1 otherwise.