Create an invoke timer registration request.
#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)
BlackBerry 10.3.0
The navigator_invoke_timer_registration_t structure to populate.
The type of trigger to register.
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.
BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.