Retrieve the menu item from the sub-menu item object.
#include "bps/menu.h"
BPS_API menu_item_t* menu_sub_item_get_item(menu_sub_item_t *item)
BlackBerry 10.0.0
The sub-menu item to retrieve the invocation from.
The menu_sub_item_get_item() function extracts the menu item of the given sub-menu item object. The function doesn't copy the data and the returned values are released once the bps_get_event() function is called again.
The menu item from the sub-menu item, NULL if there is no menu item.