menu_invocation_get_mime_type()

Retrieve the MIME type of the menu invocation.

Synopsis:

#include "bps/menu.h"
 
BPS_API const char* menu_invocation_get_mime_type(menu_invocation_t *invocation)

Since:

BlackBerry 10.0.0

Arguments:

invocation

The menu invocation to retrieve the MIME type from.

Library:

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

Description:

The menu_invocation_get_mime_type() function extracts the MIME type of the given menu invocation object. The function doesn't copy the data and the returned values are released once the bps_get_event() function is called again.

Returns:

The MIME type inside the menu invocation, NULL if there is no MIME type.