System/Library/PrivateFrameworks/SpringBoardUI.framework
SBUIFlashlightController.h
Download SBUIFlashlightController.h
@class AVFlashlight, NSHashTable, NSObject;
@protocol OS_dispatch_queue;
@interface SBUIFlashlightController : NSObject {
AVFlashlight *_flashlight;
NSObject<OS_dispatch_queue> *_flashlightQueue;
unsigned long long _level;
NSHashTable *_observers;
}
@property (class, readonly, nonatomic) BOOL deviceSupportsFlashlight;
@property (readonly, nonatomic, getter=isAvailable) BOOL available;
@property (readonly, nonatomic, getter=isOverheated) BOOL overheated;
@property (nonatomic) unsigned long long level;
+ (id)sharedInstance;
- (void)warmUp;
- (void)_turnPowerOff;
- (id)init;
- (void)turnFlashlightOffForReason:(id)a0;
- (void)removeObserver:(id)a0;
- (void)_turnPowerOn;
- (unsigned long long)_loadFlashlightLevel;
- (void)_setFlashlightLevel:(float)a0;
- (void)turnFlashlightOnForReason:(id)a0;
- (void)_storeFlashlightLevel:(unsigned long long)a0;
- (void)removeAllObservers;
- (void)_postOverheatedChangeNotification:(BOOL)a0;
- (void)_postAvailabilityChangeNotification:(BOOL)a0;
- (void)observeValueForKeyPath:(id)a0 ofObject:(id)a1 change:(id)a2 context:(void *)a3;
- (void).cxx_destruct;
- (void)_postLevelChangeNotification:(unsigned long long)a0;
- (void)_updateStateWithAvailable:(BOOL)a0 level:(unsigned long long)a1 overheated:(BOOL)a2;
- (void)coolDown;
- (void)addObserver:(id)a0;
@end