HMCharacteristic
E853035
HMCharacteristic is a HomeKit framework class in Apple’s HomeKit API that represents an individual, configurable property or attribute of a smart home accessory, such as a light’s brightness or a thermostat’s temperature.
Statements (47)
| Predicate | Object |
|---|---|
| instanceOf |
HomeKit API type
ⓘ
class ⓘ |
| associatedWith | HMAccessory ⓘ |
| belongsTo | HMService NERFINISHED ⓘ |
| conformsToLanguage | Objective-C NERFINISHED ⓘ |
| definedInFramework | HomeKit NERFINISHED ⓘ |
| definedInModule | HomeKit NERFINISHED ⓘ |
| documentationURL | https://developer.apple.com/documentation/homekit/hmcharacteristic ⓘ |
| exampleUsage |
light brightness characteristic
ⓘ
thermostat temperature characteristic ⓘ |
| frameworkOwner | Apple Inc. NERFINISHED ⓘ |
| hasMethod |
enableNotification:completionHandler:
ⓘ
readValueWithCompletionHandler: ⓘ updateAuthorizationData:completionHandler: ⓘ writeValue:completionHandler: ⓘ writeValue:completionHandler: (Swift name writeValue(_:completionHandler:)) ⓘ |
| hasProperty |
characteristicType
ⓘ
isNotificationEnabled ⓘ isNotificationSupported ⓘ isReadable ⓘ isWritable ⓘ localizedDescription ⓘ metadata ⓘ properties ⓘ service ⓘ value ⓘ |
| hasRelationship |
each HMCharacteristic belongs to exactly one HMService
ⓘ
multiple HMCharacteristic instances can belong to one HMService ⓘ |
| introducedInOS |
iOS 8
ⓘ
macOS 10.10 ⓘ tvOS 10 ⓘ watchOS 2 NERFINISHED ⓘ |
| isAvailableInLanguage | Swift NERFINISHED ⓘ |
| lifecycle | managed by HomeKit home configuration ⓘ |
| namespace | Apple HomeKit NERFINISHED ⓘ |
| platform |
iOS
ⓘ
macOS ⓘ tvOS NERFINISHED ⓘ watchOS NERFINISHED ⓘ |
| represents |
accessory characteristic
ⓘ
attribute of a HomeKit accessory ⓘ configurable property of a HomeKit accessory ⓘ |
| supports | notifications for value changes ⓘ |
| threadSafety | intended for use on main thread in UI apps ⓘ |
| usedFor |
reading accessory state
ⓘ
subscribing to value changes ⓘ writing accessory configuration ⓘ |
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.