HMEventTrigger.UpdatePredicate(NSPredicate, Action<NSError>) Method

Definition

Attempts to modify the Predicate and calls the completion handler afterwards.

[Foundation.Export("updatePredicate:completionHandler:")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void UpdatePredicate (Foundation.NSPredicate predicate, Action<Foundation.NSError> completion);
abstract member UpdatePredicate : Foundation.NSPredicate * Action<Foundation.NSError> -> unit
override this.UpdatePredicate : Foundation.NSPredicate * Action<Foundation.NSError> -> unit

Parameters

predicate
NSPredicate

The predicate to update. May be null.

This parameter can be null.

completion
Action<NSError>

A handler to run when the operation completes.

Attributes

Applies to