menu_event_get_err()

Retrieve the error message from a menu event.

Synopsis:

#include "bps/menu.h"
 
BPS_API const char* menu_event_get_err(bps_event_t *event)

Since:

BlackBerry 10.0.0

Arguments:

event

The event to extract the error message from.

Library:

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

Description:

The menu_event_get_err() function extracts the error message from the MENU_GET_MENU_ITEMS_RESULT event.

Returns:

The error message from the event, NULL if there is no error message.