addActionSet(_:completionHandler:)
Adds an action set to the trigger.
Declaration
func addActionSet(_ actionSet: HMActionSet, completionHandler completion: @escaping @Sendable ((any Error)?) -> Void)func addActionSet(_ actionSet: HMActionSet) async throwsParameters
- actionSet:
The new action set.
- completion:
The block executed after the request is processed.
- error
nilon success; otherwise, error object indicating the reason for failure.