menu_request_send()

Send the get menu items request.

Synopsis:

#include "bps/menu.h"
 
BPS_API int menu_request_send(menu_request_t *request,
                              const char *id)

Since:

BlackBerry 10.0.0

Arguments:

request

The get menu items request to send. The request cannot be NULL.

id

The ID of the message used to correlate the request with the response MENU_GET_MENU_ITEMS_RESULT. The ID cannot be NULL.

Library:

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

Description:

The menu_request_send() function sends the get menu items request to the menu service.

Returns:

BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.