Objective-CclassHomeKit
HMAppleMediaAccessoryPowerAction
@interface HMAppleMediaAccessoryPowerAction : HMAction <NSCopying>
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
Members 25
- method
+ (BOOL)supportsSecureCoding; - ivar
HMAccessory *_accessory;+0x38 - ivar
struct os_unfair_lock_s { unsigned int _os_unfair_lock_opaque; } _lock;+0x30 - ivar
unsigned long long _targetSleepWakeState;+0x40 - method
- (void).cxx_destruct; - method
- (BOOL)_handleUpdates:(id)arg0; - method
- (id)_serializeForAdd; - method
- (id)accessory; - method
- (id)copyWithZone:(struct _NSZone *)arg0; - method
- (id)init; - method
- (id)initWithAccessory:(id)arg0 targetSleepWakeState:(unsigned long long)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)isValidWithError:(id *)arg0; - method
- (BOOL)mergeFromNewObject:(id)arg0; - method
- (void)setAccessory:(id)arg0; - method
- (void)setTargetSleepWakeState:(unsigned long long)arg0; - method
- (unsigned long long)targetSleepWakeState; - method
- (unsigned long long)type; - method
- (void)updateWithAction:(id)arg0 completionHandler:(id /* block */)arg1; - property
@property(retain, nonatomic) HMAccessory *accessory; - property
@property(nonatomic) unsigned long long targetSleepWakeState;
Header
@interface HMAppleMediaAccessoryPowerAction : HMAction <NSCopying> { struct os_unfair_lock_s _lock; HMAccessory *_accessory; unsigned long long _targetSleepWakeState; } @property (nonatomic, strong) HMAccessory *accessory; @property (nonatomic) unsigned long long targetSleepWakeState; + (BOOL)supportsSecureCoding; - (id)initWithUUID:(id)uUID; - (id)copyWithZone:(struct _NSZone *)zone; - (id)accessory; - (void).cxx_destruct; - (BOOL)isEqual:(id)isEqual; - (id)init; - (BOOL)mergeFromNewObject:(id)newObject; - (unsigned long long)type; - (BOOL)isValidWithError:(id *)error; - (id)initWithCoder:(id)coder; - (void)setAccessory:(id)accessory; - (BOOL)_handleUpdates:(id)_handleUpdates; - (id)_serializeForAdd; - (id)initWithAccessory:(id)accessory targetSleepWakeState:(unsigned long long)targetSleepWakeState; - (id)initWithDictionary:(id)dictionary home:(id)home; - (BOOL)isAffectedByEndEvents; - (void)setTargetSleepWakeState:(unsigned long long)targetSleepWakeState; - (unsigned long long)targetSleepWakeState; - (void)updateWithAction:(id)action completionHandler:(id /* block */)completionHandler; @end