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

26 lines
685 B
Objective-C

//
// SCManagedCaptureDeviceDefaultZoomHandler.h
// Snapchat
//
// Created by Yu-Kuan Lai on 4/12/17.
// Copyright © 2017 Snapchat, Inc. All rights reserved.
//
#import <SCBase/SCMacros.h>
#import <CoreGraphics/CoreGraphics.h>
#import <Foundation/Foundation.h>
@class SCManagedCaptureDevice;
@class SCCaptureResource;
@interface SCManagedCaptureDeviceDefaultZoomHandler : NSObject
SC_INIT_AND_NEW_UNAVAILABLE
- (instancetype)initWithCaptureResource:(SCCaptureResource *)captureResource;
- (void)setZoomFactor:(CGFloat)zoomFactor forDevice:(SCManagedCaptureDevice *)device immediately:(BOOL)immediately;
- (void)softwareZoomWithDevice:(SCManagedCaptureDevice *)device;
@end