Retrieve the icon URI from the menu item object.
#include "bps/menu.h"
BPS_API const char* menu_item_get_icon(menu_item_t *item)
BlackBerry 10.0.0
The menu item to retrieve the icon URI from.
The menu_item_get_icon() function extracts the icon URI of the given 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.
For example, "file:///path/to/icon"
The icon URI from the menu item, NULL if there is no icon URI.