Objective-CclassHomeKit
HMCharacteristicWriteAction
@interface HMCharacteristicWriteAction : HMAction
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- classHMAction
Members 32
- method
+ (id)actionWithProtoBuf:(id)arg0 home:(id)arg1; - method
+ (id)allowedTargetValueClassesForShortcuts; - method
+ (id)new; - method
+ (BOOL)supportsSecureCoding; - property
@property(class, readonly) NSSet *allowedTargetValueClassesForShortcuts; - ivar
HMCharacteristic *_characteristic;+0x38 - ivar
struct os_unfair_lock_s { unsigned int _os_unfair_lock_opaque; } _lock;+0x30 - ivar
id <NSCopying> _targetValue;+0x40 - method
- (void).cxx_destruct; - method
- (void)__configureWithContext:(id)arg0 actionSet:(id)arg1; - method
- (BOOL)_handleUpdates:(id)arg0; - method
- (id)_resolvedCharacteristicInHome:(id)arg0 forCharacteristic:(id)arg1; - method
- (id)_serializeForAdd; - method
- (id)characteristic; - method
- (id)copyWithZone:(struct _NSZone *)arg0; - method
- (id)encodeAsProtoBuf; - method
- (id)init; - method
- (id)initWithCharacteristic:(id)arg0 targetValue:(id)arg1; - method
- (id)initWithCoder:(id)arg0; - method
- (id)initWithDictionary:(id)arg0 home:(id)arg1; - method
- (id)initWithUUID:(id)arg0; - method
- (BOOL)isAffectedByEndEvents; - method
- (BOOL)isEqual:(id)arg0; - method
- (BOOL)isKindOfAllowedTargetValueClass:(id)arg0; - method
- (BOOL)isValidWithError:(id *)arg0; - method
- (BOOL)mergeFromNewObject:(id)arg0; - method
- (BOOL)requiresDeviceUnlock; - method
- (id)targetValue; - method
- (unsigned long long)type; - method
- (void)updateTargetValue:(id)arg0 completionHandler:(id /* block */)arg1; - property
@property(readonly, nonatomic) HMCharacteristic *characteristic; - property
@property(readonly, copy, nonatomic) id <NSCopying> targetValue;
Header
@interface HMCharacteristicWriteAction : HMAction { struct os_unfair_lock_s _lock; HMCharacteristic *_characteristic; id<NSCopying> _targetValue; } @property (class, readonly) NSSet *allowedTargetValueClassesForShortcuts; @property (nonatomic, readonly) HMCharacteristic *characteristic; @property (nonatomic, copy, readonly) id<NSCopying> targetValue; + (BOOL)supportsSecureCoding; + (id)new; + (id)actionWithProtoBuf:(id)protoBuf home:(id)home; + (id)allowedTargetValueClassesForShortcuts; - (BOOL)mergeFromNewObject:(id)newObject; - (id)copyWithZone:(struct _NSZone *)zone; - (id)initWithUUID:(id)uUID; - (unsigned long long)type; - (BOOL)isEqual:(id)isEqual; - (id)targetValue; - (void).cxx_destruct; - (id)init; - (BOOL)isValidWithError:(id *)error; - (id)initWithCoder:(id)coder; - (BOOL)_handleUpdates:(id)_handleUpdates; - (void)__configureWithContext:(id)context actionSet:(id)actionSet; - (id)_resolvedCharacteristicInHome:(id)home forCharacteristic:(id)forCharacteristic; - (id)_serializeForAdd; - (id)characteristic; - (id)encodeAsProtoBuf; - (id)initWithCharacteristic:(id)characteristic targetValue:(id)targetValue; - (id)initWithDictionary:(id)dictionary home:(id)home; - (BOOL)isAffectedByEndEvents; - (BOOL)isKindOfAllowedTargetValueClass:(id)allowedTargetValueClass; - (BOOL)requiresDeviceUnlock; - (void)updateTargetValue:(id)updateTargetValue completionHandler:(id /* block */)completionHandler; @end