navigator_invoke_query_result_action_get_icon()

Get the icon of an action from an invocation query result.

Synopsis:

#include <bps/navigator_invoke.h>
 
BPS_API const char* navigator_invoke_query_result_action_get_icon(const navigator_invoke_query_result_action_t *action)

Since:

BlackBerry 10.0.0

Arguments:

action

The navigator_invoke_query_result_action_t structure whose icon member you want to retrieve.

Library:

libbps (For the qcc command, use the -l bps option to link against this library)

Description:

The navigator_invoke_query_result_action_get_icon() function extracts the URI to an icon of a given navigator_invoke_query_result_action_t structure. The icon member is a path to an icon to be identified with the corresponding action. This function doesn't copy members and the returned values are released once the bps_get_event() function is called again.

Returns:

The icon URI of the given action, NULL otherwise.