navigator_invoke_invocation_get_target_type_mask()

Get the target type mask from an invocation.

Synopsis:

#include <bps/navigator_invoke.h>
 
BPS_API int navigator_invoke_invocation_get_target_type_mask(const navigator_invoke_invocation_t *invocation)

Since:

BlackBerry 10.0.0

Arguments:

invocation

A pointer to the navigator_invoke_invocation_t structure whose target_type_mask member you want to retrieve.

Library:

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

Description:

The navigator_invoke_invocation_get_target_type_mask() function extracts the target type mask of a given navigator_invoke_invocation_t structure. The target_type_mask member indicates which target types should be included by the invocation selection (see navigator_invoke_invocation_set_target_type_mask() and navigator_invoke_target_type_t for further details).

Returns:

The invocation target type mask. NAVIGATOR_INVOKE_TARGET_TYPE_UNSPECIFIED is returned when the target_type_mask is not specified, which implies that all the target types are considered by the brokering system. NAVIGATOR_INVOKE_TARGET_TYPE_UNSPECIFIED is returned with errno set upon error.