Contents

removeEvent(_:completionHandler:)

Removes the specified event from the event trigger.

Declaration

func removeEvent(_ event: HMEvent, completionHandler completion: @escaping  @Sendable ((any Error)?) -> Void)
func removeEvent(_ event: HMEvent) async throws

Parameters

  • event:

    The event to remove from the event trigger.

  • completion:

    A block that executes after processing the request.

    The block takes the following parameter:

    error

    If the request was successful, the value of error is nil; otherwise, the value provides more information about the request status.

See Also

Deprecated symbols