menu_sub_item_get_type()

Retrieve the type of the sub-menu item.

Synopsis:

#include "bps/menu.h"
 
BPS_API int menu_sub_item_get_type(menu_sub_item_t *item)

Since:

BlackBerry 10.2.0

Arguments:

item

The sub-menu item.

Library:

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

Description:

The menu_sub_item_get_type() function extracts the type of the given sub-menu item object.

Returns:

The type of the sub-menu item as a value of the menu_sub_item_type_t enum, or MENU_SUB_ITEM_TYPE_UNSPECIFIED on error.