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.

93 lines
3.1 KiB

  1. // 49126048c3d19dd5b676b8d39844cf133833b67a
  2. // Generated by the value-object.rb DO NOT EDIT!!
  3. #import "SCManagedCaptureDevice.h"
  4. #import <AvailabilityMacros.h>
  5. #import <CoreGraphics/CoreGraphics.h>
  6. #import <Foundation/Foundation.h>
  7. @protocol SCManagedCapturerState <NSObject, NSCoding, NSCopying>
  8. @property (nonatomic, assign, readonly) BOOL isRunning;
  9. @property (nonatomic, assign, readonly) BOOL isNightModeActive;
  10. @property (nonatomic, assign, readonly) BOOL isPortraitModeActive;
  11. @property (nonatomic, assign, readonly) BOOL lowLightCondition;
  12. @property (nonatomic, assign, readonly) BOOL adjustingExposure;
  13. @property (nonatomic, assign, readonly) SCManagedCaptureDevicePosition devicePosition;
  14. @property (nonatomic, assign, readonly) CGFloat zoomFactor;
  15. @property (nonatomic, assign, readonly) BOOL flashSupported;
  16. @property (nonatomic, assign, readonly) BOOL torchSupported;
  17. @property (nonatomic, assign, readonly) BOOL flashActive;
  18. @property (nonatomic, assign, readonly) BOOL torchActive;
  19. @property (nonatomic, assign, readonly) BOOL lensesActive;
  20. @property (nonatomic, assign, readonly) BOOL arSessionActive;
  21. @property (nonatomic, assign, readonly) BOOL liveVideoStreaming;
  22. @property (nonatomic, assign, readonly) BOOL lensProcessorReady;
  23. @end
  24. @interface SCManagedCapturerState : NSObject <SCManagedCapturerState>
  25. @property (nonatomic, assign, readonly) BOOL isRunning;
  26. @property (nonatomic, assign, readonly) BOOL isNightModeActive;
  27. @property (nonatomic, assign, readonly) BOOL isPortraitModeActive;
  28. @property (nonatomic, assign, readonly) BOOL lowLightCondition;
  29. @property (nonatomic, assign, readonly) BOOL adjustingExposure;
  30. @property (nonatomic, assign, readonly) SCManagedCaptureDevicePosition devicePosition;
  31. @property (nonatomic, assign, readonly) CGFloat zoomFactor;
  32. @property (nonatomic, assign, readonly) BOOL flashSupported;
  33. @property (nonatomic, assign, readonly) BOOL torchSupported;
  34. @property (nonatomic, assign, readonly) BOOL flashActive;
  35. @property (nonatomic, assign, readonly) BOOL torchActive;
  36. @property (nonatomic, assign, readonly) BOOL lensesActive;
  37. @property (nonatomic, assign, readonly) BOOL arSessionActive;
  38. @property (nonatomic, assign, readonly) BOOL liveVideoStreaming;
  39. @property (nonatomic, assign, readonly) BOOL lensProcessorReady;
  40. - (instancetype)initWithIsRunning:(BOOL)isRunning
  41. isNightModeActive:(BOOL)isNightModeActive
  42. isPortraitModeActive:(BOOL)isPortraitModeActive
  43. lowLightCondition:(BOOL)lowLightCondition
  44. adjustingExposure:(BOOL)adjustingExposure
  45. devicePosition:(SCManagedCaptureDevicePosition)devicePosition
  46. zoomFactor:(CGFloat)zoomFactor
  47. flashSupported:(BOOL)flashSupported
  48. torchSupported:(BOOL)torchSupported
  49. flashActive:(BOOL)flashActive
  50. torchActive:(BOOL)torchActive
  51. lensesActive:(BOOL)lensesActive
  52. arSessionActive:(BOOL)arSessionActive
  53. liveVideoStreaming:(BOOL)liveVideoStreaming
  54. lensProcessorReady:(BOOL)lensProcessorReady;
  55. @end