HMEventTrigger.CreatePredicateForEvaluatingTriggerOccurringBeforeSignificantEvent Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
CreatePredicateForEvaluatingTriggerOccurringBeforeSignificantEvent(HMSignificantTimeEvent) | |
CreatePredicateForEvaluatingTriggerOccurringBeforeSignificantEvent(HMSignificantEvent, NSDateComponents) |
Creates a predicate that causes a trigger to evaluate |
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
- offset
- NSDateComponents
Returns
- Attributes