HMEventTrigger
E853037
HMEventTrigger is a HomeKit framework class used to define and manage automation triggers that fire in response to specific events in a smart home environment.
Statements (54)
| Predicate | Object |
|---|---|
| instanceOf |
HMTrigger subclass
ⓘ
HomeKit class ⓘ NSObject subclass ⓘ |
| availability | Apple platforms only ⓘ |
| category | event-based automation trigger ⓘ |
| conformsTo |
NSCopying
NERFINISHED
ⓘ
NSSecureCoding NERFINISHED ⓘ |
| definedInFramework | HomeKit NERFINISHED ⓘ |
| hasInitializer |
init(name:events:endEvents:recurrences:predicate:) (deprecated)
ⓘ
init(name:events:endEvents:recurrences:predicate:uniqueIdentifier:) (deprecated) ⓘ |
| hasMethod |
addEndEvent(_:completionHandler:)
ⓘ
addEvent(_:completionHandler:) ⓘ copy(with:) ⓘ disable(completionHandler:) ⓘ enable(completionHandler:) ⓘ encode(with:) ⓘ init?(coder:) ⓘ removeEndEvent(_:completionHandler:) ⓘ removeEvent(_:completionHandler:) ⓘ updateName(_:completionHandler:) ⓘ updatePredicate(_:completionHandler:) ⓘ updateRecurrences(_:completionHandler:) ⓘ |
| hasProperty |
actionSets
ⓘ
endEvents ⓘ events ⓘ home ⓘ isEnabled ⓘ isExecuting ⓘ lastFireDate ⓘ name ⓘ predicate ⓘ recurrences ⓘ uniqueIdentifier ⓘ updateAuthorizationStatus ⓘ |
| hasRelationship |
belongs to HMHome
ⓘ
controls HMActionSet instances ⓘ |
| introducedInOS |
iOS 9.0
ⓘ
macOS 10.14 ⓘ tvOS 10.0 ⓘ watchOS 2.0 NERFINISHED ⓘ |
| supports |
end events
ⓘ
multiple events ⓘ predicate-based conditions ⓘ recurrence rules ⓘ |
| threadSafety | not guaranteed thread-safe ⓘ |
| usedFor |
defining event-based triggers
ⓘ
home automation ⓘ managing HomeKit automations ⓘ |
| uses |
HMCalendarEvent
ⓘ
HMCharacteristicEvent NERFINISHED ⓘ HMEvent ⓘ HMLocationEvent ⓘ HMPresenceEvent NERFINISHED ⓘ HMSignificantTimeEvent NERFINISHED ⓘ |
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.