System/Library/PrivateFrameworks/AssistantServices.framework
AFPowerAssertionManager.h
Download AFPowerAssertionManager.h
@class NSString, NSMutableDictionary, AFWatchdogTimer, AFAssertionCoordinator, NSObject;
@protocol OS_dispatch_queue;
@interface AFPowerAssertionManager : NSObject <AFAssertionCoordinatorDelegate> {
NSString *_identifier;
NSObject<OS_dispatch_queue> *_queue;
AFAssertionCoordinator *_assertionCoordinator;
unsigned int _powerAssertion;
NSMutableDictionary *_assertionsByName;
AFWatchdogTimer *_watchdogTimer;
}
@property (readonly) unsigned long long hash;
@property (readonly) Class superclass;
@property (readonly, copy) NSString *description;
@property (readonly, copy) NSString *debugDescription;
- (id)initWithIdentifier:(id)a0;
- (void)dealloc;
- (void)_releasePowerAssertion;
- (void).cxx_destruct;
- (void)_createPowerAssertion;
- (void)_reportLeakedPowerAssertion;
- (void)_watchdogTimedOut;
- (void)assertionCoordinator:(id)a0 didActivateAssertion:(id)a1 isFirstAssertion:(BOOL)a2;
- (void)assertionCoordinator:(id)a0 didAddAssertion:(id)a1 isFirstAssertion:(BOOL)a2;
- (void)assertionCoordinator:(id)a0 didDeactivateAssertion:(id)a1 isLastAssertion:(BOOL)a2;
- (void)assertionCoordinator:(id)a0 didRemoveAssertion:(id)a1 isLastAssertion:(BOOL)a2;
- (void)releaseAllPowerAssertions;
- (void)releasePowerAssertionWithName:(id)a0;
- (void)takePowerAssertionWithName:(id)a0;
@end