Instance Method

updateExecuteOnce:completionHandler:

Updates the repetition status of the event trigger.

Declaration

- (void)updateExecuteOnce:(BOOL)executeOnce completionHandler:(void (^)(NSError *error))completion;

Parameters

executeOnce

A Boolean value that specifies whether to repeat the trigger.

completion

A block that executes after processing the request.

The block takes the following parameter:

error

If the request was successful, the value of error is nil; otherwise, the value provides more information about the request status.

See Also

Controlling Recurrence

recurrences

Specifies the days on which the trigger can execute.

- updateRecurrences:completionHandler:

Updates the days of the week the trigger can repeat.

executeOnce

A Boolean that can execute the trigger many times.