Contents

removeActionSet(_:completionHandler:)

Removes an action set from the home.

Declaration

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

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

Creating action sets