Set the target type mask of the menu request.
#include "bps/menu.h"
BPS_API int menu_request_set_target_type_mask(menu_request_t *request,
int target_type_mask)
BlackBerry 10.0.0
The request to update.
The target type to set.
The menu_request_set_target_type_mask() function indicates whether to include targets of type application, service, or card in the results set. Including the value NAVIGATOR_INVOKE_TARGET_TYPE_SELF indicates that a target will be included even if it is the same as the requesting client.
For example, NAVIGATOR_INVOKE_TARGET_TYPE_APPLICATION | NAVIGATOR_INVOKE_TARGET_TYPE_CARD would include targets of type application and card.
BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.