navigator_invoke_query_get_file_uri()

Get the URI from a query.

Synopsis:

#include <bps/navigator_invoke.h>
 
BPS_API const char* navigator_invoke_query_get_file_uri(const navigator_invoke_query_t *query)

Since:

BlackBerry 10.0.0

Arguments:

query

A pointer to the navigator_invoke_query_t structure whose file_uri 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_get_file_uri() function extracts the URI of a given navigator_invoke_query_t structure. The file_uri member is used by the brokering system to identify what type interface the invocation query results must be able to perform an action on (see the navigator_invoke_query_set_file_uri() function for further details). This function doesn't copy members and the returned values are released once the navigator_invoke_query_t structure is destroyed with the navigator_invoke_query_destroy() function.

Returns:

The URI to the type interface to query for if one was provided by the sender, NULL otherwise.