navigator_invoke_timer_registration_set_target()

Assign given target key to the timer registration.

Synopsis:

#include <bps/navigator_invoke.h>
 
BPS_API int navigator_invoke_timer_registration_set_target(navigator_invoke_timer_registration_t *reg,
                                                           const char *target)

Since:

BlackBerry 10.3.0

Arguments:

reg

The navigator_invoke_timer_registration_t structure to modify.

target

The target key to assign.

Library:

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

Description:

The navigator_invoke_timer_registration_set_target() function sets the given target to the timer registration request. The target key must correspond to the key declared in the application BAR manifest file as 'application.headless' type.

Returns:

BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.