1
0
This repository has been archived on 2025-03-31. You can view files and clone it, but cannot push or open issues or pull requests.
Source-SnapChatCamera/ManagedCapturer/SCManagedCaptureDeviceFocusHandler.h
2018-08-08 02:27:52 +03:00

29 lines
606 B
Objective-C

//
// 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