navigator_invoke_query_set_file_uri()

Set the URI of a query.

Synopsis:

#include <bps/navigator_invoke.h>
 
BPS_API int navigator_invoke_query_set_file_uri(navigator_invoke_query_t *query,
                                                const char *file_uri)

Since:

BlackBerry 10.0.0

Arguments:

query

A pointer to the navigator_invoke_query_t structure whose file_uri member you want to set.

file_uri

The URI to the type interface you want to query for. The value of this member should be a percent-encoded URI. For example, file:///accounts/1000/appdata/com.example.application.123456789123456789123456789/data/image%201.jpg

Library:

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

Description:

The navigator_invoke_query_set_file_uri() function sets the URI of a given navigator_invoke_query_t structure. The file_uri member identifies the type interface the invocation query results must be able to perform an action on.

You must assign this member if the type member (assinged wih the navigator_invoke_query_set_type() function) is not provided.

Returns:

BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.