menu_request_set_file_uri()

Set the file URI of the menu request.

Synopsis:

#include "bps/menu.h"
 
BPS_API int menu_request_set_file_uri(menu_request_t *request,
                                      const char *file_uri)

Since:

BlackBerry 10.0.0

Arguments:

request

The request to update.

file_uri

The file URI to set.

Library:

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

Description:

The menu_request_set_file_uri() function sets the file URI of the specified menu request. The file URI is used for the type interface and it must be provided if the type is not specified. The expected format is a string value.

For example, "file:///path/to/file.txt"

Returns:

BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.