navigator_invoke_query_result_target_get_icon()

Get the icon of an target for an action.

Synopsis:

#include <bps/navigator_invoke.h>
 
BPS_API const char* navigator_invoke_query_result_target_get_icon(const navigator_invoke_query_result_target_t *target)

Since:

BlackBerry 10.0.0

Arguments:

target

The navigator_invoke_query_result_target_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_target_get_icon() function extracts the URI to an icon of a given navigator_invoke_query_result_target_t structure. The icon member is a path to an icon to be identified with the corresponding target. 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).

Returns:

The icon URI of the given target, NULL otherwise.