HMCharacteristicEvent
E853038
HMCharacteristicEvent is a HomeKit framework class that represents an event triggered by changes to a specific characteristic of a HomeKit accessory, typically used in defining home automation rules.
Statements (45)
| Predicate | Object |
|---|---|
| instanceOf |
HMEvent subclass
ⓘ
HomeKit framework class ⓘ NSObject subclass ⓘ |
| availability | not available on macOS before Mac Catalyst ⓘ |
| belongsTo | HomeKit automation model NERFINISHED ⓘ |
| canBePersisted | yes ⓘ |
| conformsTo |
NSCopying
NERFINISHED
ⓘ
NSSecureCoding NERFINISHED ⓘ |
| definedIn | HomeKit.framework NERFINISHED ⓘ |
| documentationURL | https://developer.apple.com/documentation/homekit/hmcharacteristicevent ⓘ |
| framework | HomeKit NERFINISHED ⓘ |
| hasInitializer |
initWithCharacteristic:triggerValue:
ⓘ
initWithCharacteristic:triggerValue:completionHandler: ⓘ |
| hasMethod |
encodeWithCoder:
ⓘ
initWithCoder: ⓘ updateTriggerValue:completionHandler: ⓘ |
| hasProperty |
characteristic
ⓘ
enabled ⓘ triggerValue ⓘ uniqueIdentifier ⓘ |
| hasType | event based on characteristic value ⓘ |
| inheritsFrom |
HMEvent
NERFINISHED
ⓘ
NSObject NERFINISHED ⓘ |
| introducedIn |
iOS 9.0
ⓘ
tvOS 10.0 NERFINISHED ⓘ watchOS 2.0 NERFINISHED ⓘ |
| isConfigurableBy | home automation apps ⓘ |
| language |
Objective-C
NERFINISHED
ⓘ
Swift NERFINISHED ⓘ |
| propertyType |
characteristic is HMCharacteristic *
ⓘ
triggerValue is id ⓘ |
| relatedTo |
HMEventTrigger
ⓘ
HMLocationEvent NERFINISHED ⓘ HMTimeEvent NERFINISHED ⓘ |
| requires | HomeKit entitlement ⓘ |
| supportsSecureCoding | yes GENERATED ⓘ |
| threadSafe | no (must be used on HomeKit queue) ⓘ |
| triggerCondition | fires when characteristic value equals triggerValue ⓘ |
| usedFor |
HomeKit automation
ⓘ
monitoring characteristic value changes ⓘ triggering HomeKit rules ⓘ |
| usedIn | HMEventTrigger NERFINISHED ⓘ |
| usedWith |
HMAccessory
NERFINISHED
ⓘ
HMCharacteristic NERFINISHED ⓘ HMHome ⓘ |
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.