HMEventTrigger.CreatePredicateForEvaluatingTriggerOccurringAfterSignificantEvent Method

Definition

Overloads

CreatePredicateForEvaluatingTriggerOccurringAfterSignificantEvent(HMSignificantTimeEvent)
CreatePredicateForEvaluatingTriggerOccurringAfterSignificantEvent(HMSignificantEvent, NSDateComponents)

Factory method to create an NSPredicate that evaluates to true if the significantEvent occurred.

CreatePredicateForEvaluatingTriggerOccurringAfterSignificantEvent(HMSignificantTimeEvent)

[Foundation.Export("predicateForEvaluatingTriggerOccurringAfterSignificantEvent:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 4, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static Foundation.NSPredicate CreatePredicateForEvaluatingTriggerOccurringAfterSignificantEvent (HomeKit.HMSignificantTimeEvent significantEvent);
static member CreatePredicateForEvaluatingTriggerOccurringAfterSignificantEvent : HomeKit.HMSignificantTimeEvent -> Foundation.NSPredicate

Parameters

significantEvent
HMSignificantTimeEvent

Returns

Attributes

Applies to

CreatePredicateForEvaluatingTriggerOccurringAfterSignificantEvent(HMSignificantEvent, NSDateComponents)

Factory method to create an NSPredicate that evaluates to true if the significantEvent occurred.

[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'CreatePredicateForEvaluatingTriggerOccurringAfterSignificantEvent (HMSignificantTimeEvent)' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'CreatePredicateForEvaluatingTriggerOccurringAfterSignificantEvent (HMSignificantTimeEvent)' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.WatchOS, 4, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'CreatePredicateForEvaluatingTriggerOccurringAfterSignificantEvent (HMSignificantTimeEvent)' instead.")]
public static Foundation.NSPredicate CreatePredicateForEvaluatingTriggerOccurringAfterSignificantEvent (HomeKit.HMSignificantEvent significantEvent, Foundation.NSDateComponents offset);
static member CreatePredicateForEvaluatingTriggerOccurringAfterSignificantEvent : HomeKit.HMSignificantEvent * Foundation.NSDateComponents -> Foundation.NSPredicate

Parameters

significantEvent
HMSignificantEvent

Returns

Attributes

Applies to