共用方式為


HMEventTrigger.UpdatePredicateAsync(NSPredicate) 方法

定義

嘗試修改 Predicate ,並在之後呼叫 completion 處理常式。

[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual System.Threading.Tasks.Task UpdatePredicateAsync (Foundation.NSPredicate predicate);
abstract member UpdatePredicateAsync : Foundation.NSPredicate -> System.Threading.Tasks.Task
override this.UpdatePredicateAsync : Foundation.NSPredicate -> System.Threading.Tasks.Task

參數

predicate
NSPredicate

要更新的述詞。 可能是 。

傳回

表示非同步 UpdatePredicate 作業的工作

屬性

適用於