Instance Method

removeActionSet(_:completionHandler:)

Removes an action set from the trigger.

Declaration

func removeActionSet(_ actionSet: HMActionSet, completionHandler completion: @escaping (Error?) -> Void)

Parameters

actionSet

The action set to remove.

completion

The block executed after the request is processed.

error

nil on success; otherwise, error object indicating the reason for failure.

See Also

Managing Action Sets

var actionSets: [HMActionSet]

Array of all action sets that will be executed by the trigger.