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.

28 lines
606 B

  1. //
  2. // SCManagedCaptureDeviceFocusHandler.h
  3. // Snapchat
  4. //
  5. // Created by Jiyang Zhu on 3/7/18.
  6. // Copyright © 2018 Snapchat, Inc. All rights reserved.
  7. //
  8. #import <CoreGraphics/CoreGraphics.h>
  9. #import <Foundation/Foundation.h>
  10. @protocol SCManagedCaptureDeviceFocusHandler <NSObject>
  11. - (CGPoint)getFocusPointOfInterest;
  12. /// Called when subject area changes.
  13. - (void)continuousAutofocus;
  14. /// Called when user taps.
  15. - (void)setAutofocusPointOfInterest:(CGPoint)pointOfInterest;
  16. - (void)setSmoothFocus:(BOOL)smoothFocus;
  17. - (void)setFocusLock:(BOOL)focusLock;
  18. - (void)setVisible:(BOOL)visible;
  19. @end