Updates the set of trigger events.
- iOS 11.0+
An array of events that replaces the events on the trigger.
A block that executes after processing the request.
The block takes the following parameter:
If the request was successful, the value of
nil; otherwise, the value provides more information about the request status.