Set the MIME type of the menu request.
#include "bps/menu.h"
BPS_API int menu_request_set_mime_type(menu_request_t *request,
const char *mime_type)
BlackBerry 10.0.0
The menu request.
The MIME type to set.
The menu_request_set_mime_type() function sets the MIME type of the specified menu request. The MIME type of the data to be acted on must be provided if the file URI attribute is not provided. The expected format is:
mimetype: type subtype type: [a-zA-Z0-9-_\.]+ subtype: NUL | / type subtype
For example, "image/png"
BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.