menu_item_get_secondary_icon()

Retrieve the secondary icon URI from the menu item object.

Synopsis:

#include "bps/menu.h"
 
BPS_API const char* menu_item_get_secondary_icon(menu_item_t *item)

Since:

BlackBerry 10.0.0

Arguments:

item

The menu item to retrieve the icon URI from.

Library:

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

Description:

The menu_item_get_secondary_icon() function extracts the secondary 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"

Returns:

The secondary icon URI from the menu item, NULL if there is no secondary icon URI.