Set the interval of a recurrence rule structure.
#include <bps/navigator_invoke.h>
BPS_API int navigator_invoke_recurrence_rule_set_interval(navigator_invoke_recurrence_rule_t *recurrence_rule,
int interval)
BlackBerry 10.3.1
The navigator_invoke_recurrence_rule_t structure to modify.
The interval to set. BPS_FAILURE is returned when zero or a negative value is passed as the interval.
This function sets the interval of a navigator_invoke_recurrence_rule_t structure.
The interval is along with the frequency to specify a period for the recurrence rule. For instance, setting the interval to 2 and the frequency to NAVIGATOR_INVOKE_RECURRENCE_RULE_FREQUENCY_WEEKLY will produce a rule that is applied every other week.
BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.