updateRecurrences(_:completionHandler:)
Updates the days of the week the trigger can repeat.
Declaration
func updateRecurrences(_ recurrences: [DateComponents]?, completionHandler completion: @escaping @Sendable ((any Error)?) -> Void)func updateRecurrences(_ recurrences: [DateComponents]?) async throwsParameters
- recurrences:
An array of Datecomponents that represent the days of the week that the event trigger can repeat. Only respects the Weekday property of Datecomponents.
- completion:
A block that executes after processing the request.
The block takes the following parameter:
- error
If the request was successful, the value of
errorisnil; otherwise, the value provides more information about the request status.