Instance Method

removeEvent:completionHandler:

Removes the specified event from the event trigger.

Declaration

- (void)removeEvent:(HMEvent *)event completionHandler:(void (^)(NSError *error))completion;

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

- addEvent:completionHandler:

Adds a new event to the event trigger.

Deprecated
+ predicateForEvaluatingTriggerOccurringBeforeSignificantEvent:applyingOffset:

Creates a predicate that evaluates whether the event occurred before a significant event.

Deprecated
+ predicateForEvaluatingTriggerOccurringAfterSignificantEvent:applyingOffset:

Creates a predicate that evaluates whether the event occurred before a significant event.

Deprecated