menu_request_get_action()

Retrieve the action from the menu request.

Synopsis:

#include "bps/menu.h"
 
BPS_API const char* menu_request_get_action(menu_request_t *request)

Since:

BlackBerry 10.0.0

Arguments:

request

The menu request to retrieve the action from.

Library:

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

Description:

The menu_request_get_action() function extracts the action of the specified menu request. The function doesn't copy data and the returned values are released once the menu request is destroyed.

Returns:

The menu request action if provided by the sender, NULL otherwise.