navigator_invoke_timer_registration_set_action()

Set action on the given registration structure.

Synopsis:

#include <bps/navigator_invoke.h>
 
BPS_API int navigator_invoke_timer_registration_set_action(navigator_invoke_timer_registration_t *reg,
                                                           navigator_invoke_timer_registration_action_t action)

Since:

BlackBerry 10.3.0

Arguments:

reg

The navigator_invoke_timer_registration_t structure to modify.

action

The action to perform during navigator_invoke_timer_registration_send() call.

Library:

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

Description:

The navigator_invoke_timer_registration_set_action() function sets the request action in the given navigator_invoke_timer_registration_t structure.

The action indicates whether the request is to register or unregister the timer trigger.

Returns:

BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.