Assign given target key to the timer registration.
#include <bps/navigator_invoke.h>
BPS_API int navigator_invoke_timer_registration_set_target(navigator_invoke_timer_registration_t *reg,
const char *target)
BlackBerry 10.3.0
The navigator_invoke_timer_registration_t structure to modify.
The target key to assign.
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.
BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.