Retrieve the data of the menu invocation.
#include "bps/menu.h"
BPS_API const void* menu_invocation_get_data(menu_invocation_t *invocation)
BlackBerry 10.0.0
The menu invocation to retrieve the data from.
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.
The data inside the menu invocation, NULL if there is no data.