navigator_invoke_invocation_send()
Request an invocation to a target.
Synopsis:
#include <bps/navigator_invoke.h>
BPS_API int navigator_invoke_invocation_send(const navigator_invoke_invocation_t *invocation)
Since:
BlackBerry 10.0.0
Arguments:
- invocation
-
The navigator_invoke_invocation_t structure to send.
Library:
libbpsDescription:
The navigator_invoke_invocation_send() function invokes a target handler that is specified by the given navigator_invoke_invocation_t structure. The target of an invocation can be determined in the following manners:
- If you specified a target member (using the navigator_invoke_invocation_set_target() function, the target is invoked directly using the given information.
- If you didn't specify a target member, the brokering system infers a target handler using the information from the action and/or type members, set with the navigator_invoke_invocation_set_action() and navigator_invoke_invocation_set_type() functions respectively.
Returns:
BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.