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/SCManagedCaptureDeviceSubjectAreaHandler.h
2018-08-08 02:27:52 +03:00

24 lines
654 B
Objective-C

//
// SCManagedCaptureDeviceSubjectAreaHandler.h
// Snapchat
//
// Created by Xiaokang Liu on 19/03/2018.
//
// This class is used to handle the AVCaptureDeviceSubjectAreaDidChangeNotification notification for SCManagedCapturer.
// To reset device's settings when the subject area changed
#import <SCBase/SCMacros.h>
#import <Foundation/Foundation.h>
@class SCCaptureResource;
@protocol SCCapturer;
@interface SCManagedCaptureDeviceSubjectAreaHandler : NSObject
SC_INIT_AND_NEW_UNAVAILABLE
- (instancetype)initWithCaptureResource:(SCCaptureResource *)captureResource NS_DESIGNATED_INITIALIZER;
- (void)stopObserving;
- (void)startObserving;
@end