menu_request_get_mime_type()

Retrieve the MIME type from the menu request object.

Synopsis:

#include "bps/menu.h"
 
BPS_API const char* menu_request_get_mime_type(menu_request_t *request)

Since:

BlackBerry 10.0.0

Arguments:

request

The menu request to retrieve the action from.

Library:

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

Description:

The menu_request_get_mime_type() function extracts the MIME type of the specified menu request object. The function doesn't copy data and the returned values are released once the menu request is destroyed.

Returns:

The menu request type if provided by the sender, NULL otherwise.