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

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