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

//
// SCManagedCaptureDeviceFocusHandler.h
// Snapchat
//
// Created by Jiyang Zhu on 3/7/18.
// Copyright © 2018 Snapchat, Inc. All rights reserved.
//
#import <CoreGraphics/CoreGraphics.h>
#import <Foundation/Foundation.h>
@protocol SCManagedCaptureDeviceFocusHandler <NSObject>
- (CGPoint)getFocusPointOfInterest;
/// Called when subject area changes.
- (void)continuousAutofocus;
/// Called when user taps.
- (void)setAutofocusPointOfInterest:(CGPoint)pointOfInterest;
- (void)setSmoothFocus:(BOOL)smoothFocus;
- (void)setFocusLock:(BOOL)focusLock;
- (void)setVisible:(BOOL)visible;
@end