Retrieve the target type of the menu invocation.
#include "bps/menu.h"
BPS_API int menu_invocation_get_target_type(menu_invocation_t *invocation)
BlackBerry 10.0.0
The menu invocation to retrieve the target type from.
The menu_invocation_get_target_type() function extracts the target type of the specified menu invocation object. The allowable return values are:
The target type inside the menu invocation on success, BPS_FAILURE with errno set otherwise.