2014 snapchat source code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
913 B

  1. //
  2. // SCManagedDeviceCapacityAnalyzer.h
  3. // Snapchat
  4. //
  5. // Created by Liu Liu on 5/1/15.
  6. // Copyright (c) 2015 Liu Liu. All rights reserved.
  7. //
  8. #import "SCManagedDeviceCapacityAnalyzerListener.h"
  9. #import <SCCameraFoundation/SCManagedVideoDataSourceListener.h>
  10. #import <Foundation/Foundation.h>
  11. @class SCManagedCaptureDevice;
  12. @protocol SCPerforming;
  13. extern NSInteger const kSCManagedDeviceCapacityAnalyzerMaxISOPresetHigh;
  14. @interface SCManagedDeviceCapacityAnalyzer : NSObject <SCManagedVideoDataSourceListener>
  15. @property (nonatomic, assign) BOOL lowLightConditionEnabled;
  16. - (instancetype)initWithPerformer:(id<SCPerforming>)performer;
  17. - (void)addListener:(id<SCManagedDeviceCapacityAnalyzerListener>)listener;
  18. - (void)removeListener:(id<SCManagedDeviceCapacityAnalyzerListener>)listener;
  19. - (void)setAsFocusListenerForDevice:(SCManagedCaptureDevice *)captureDevice;
  20. - (void)removeFocusListener;
  21. @end