menu_invocation_get_data()

Retrieve the data of the menu invocation.

Synopsis:

#include "bps/menu.h"
 
BPS_API const void* menu_invocation_get_data(menu_invocation_t *invocation)

Since:

BlackBerry 10.0.0

Arguments:

invocation

The menu invocation to retrieve the data from.

Library:

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

Description:

The menu_invocation_get_data() function extracts the data of the given menu invocation object which is encoded based on the specified MIME type. Omitting the data implies that the action-type are sufficient to carry out the invocation. The function doesn't copy the data and the returned values are released once the bps_get_event() function is called again.

Returns:

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