HMEventTrigger.CreatePredicateForEvaluatingTriggerOccurringBeforeSignificantEvent Method

Definition

Overloads

CreatePredicateForEvaluatingTriggerOccurringBeforeSignificantEvent(HMSignificantTimeEvent)
CreatePredicateForEvaluatingTriggerOccurringBeforeSignificantEvent(HMSignificantEvent, NSDateComponents)

Creates a predicate that causes a trigger to evaluate offset before the specified significant event.

CreatePredicateForEvaluatingTriggerOccurringBeforeSignificantEvent(HMSignificantTimeEvent)

[Foundation.Export("predicateForEvaluatingTriggerOccurringBeforeSignificantEvent:")]
[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 CreatePredicateForEvaluatingTriggerOccurringBeforeSignificantEvent (HomeKit.HMSignificantTimeEvent significantEvent);
static member CreatePredicateForEvaluatingTriggerOccurringBeforeSignificantEvent : HomeKit.HMSignificantTimeEvent -> Foundation.NSPredicate

Parameters

significantEvent
HMSignificantTimeEvent

Returns

Attributes

Applies to

CreatePredicateForEvaluatingTriggerOccurringBeforeSignificantEvent(HMSignificantEvent, NSDateComponents)

Creates a predicate that causes a trigger to evaluate offset before the specified significant event.

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

Parameters

significantEvent
HMSignificantEvent

Returns

Attributes

Applies to