HMEventTrigger.CreatePredicateForEvaluatingTriggerOccurringAfterSignificantEvent 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
CreatePredicateForEvaluatingTriggerOccurringAfterSignificantEvent(HMSignificantTimeEvent) | |
CreatePredicateForEvaluatingTriggerOccurringAfterSignificantEvent(HMSignificantEvent, NSDateComponents) |
Factory method to create an NSPredicate that evaluates to |
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
- offset
- NSDateComponents
Returns
- Attributes