navigator_invoke_timer_registration_create()

Create an invoke timer registration request.

Synopsis:

#include <bps/navigator_invoke.h>
 
BPS_API int navigator_invoke_timer_registration_create(navigator_invoke_timer_registration_t **reg,
                                                       navigator_invoke_timer_trigger_type_t type)

Since:

BlackBerry 10.3.0

Arguments:

reg

The navigator_invoke_timer_registration_t structure to populate.

type

The type of trigger to register.

Library:

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

Description:

The navigator_invoke_timer_registration_create() function creates an instance of a navigator_invoke_timer_registration_t structure, reg to be used for timer registration and deregistration. Destroy all invocation instances created through this function once they are no longer needed by using the navigator_invoke_timer_registration_destroy() function to prevent memory leaks.

Returns:

BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.