navigator_invoke_timer_registration_set_timer_id()

Set the timer ID of a timer registration request.

Synopsis:

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

Since:

BlackBerry 10.3.0

Arguments:

reg

The navigator_invoke_timer_registration_t structure to modify.

id

The timer ID to assign to the timer.

Library:

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

Description:

This function sets the timer ID of a navigator_invoke_timer_registration_t. A timer is required to have a timer ID attribute. The timer ID can be used to identify and deregister the timer.

Returns:

BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.