Instance Method

updatePredicate:completionHandler:

Replaces the predicate used to evaluate execution of the scene associated with the event trigger.

Declaration

- (void)updatePredicate:(NSPredicate *)predicate completionHandler:(void (^)(NSError *error))completion;

Parameters

predicate

The new predicate to use with 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

Adding a Trigger Condition

predicate

The predicate to evaluate before executing the scene associated with the event trigger.