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.

23 lines
654 B

  1. //
  2. // SCManagedCaptureDeviceSubjectAreaHandler.h
  3. // Snapchat
  4. //
  5. // Created by Xiaokang Liu on 19/03/2018.
  6. //
  7. // This class is used to handle the AVCaptureDeviceSubjectAreaDidChangeNotification notification for SCManagedCapturer.
  8. // To reset device's settings when the subject area changed
  9. #import <SCBase/SCMacros.h>
  10. #import <Foundation/Foundation.h>
  11. @class SCCaptureResource;
  12. @protocol SCCapturer;
  13. @interface SCManagedCaptureDeviceSubjectAreaHandler : NSObject
  14. SC_INIT_AND_NEW_UNAVAILABLE
  15. - (instancetype)initWithCaptureResource:(SCCaptureResource *)captureResource NS_DESIGNATED_INITIALIZER;
  16. - (void)stopObserving;
  17. - (void)startObserving;
  18. @end