Files
mier_ios/SweetParty/第三方库/SGQRCode/SGQRCodeObtainConfigure.h
2025-08-11 10:43:19 +08:00

28 lines
942 B
Objective-C
Executable File
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//
// SGQRCodeObtainConfigure.h
// SGQRCodeExample
//
// Created by kingsic on 2018/7/29.
// Copyright © 2018年 kingsic. All rights reserved.
//
#import <UIKit/UIKit.h>
#import <AVFoundation/AVFoundation.h>
@interface SGQRCodeObtainConfigure : NSObject
/** 类方法创建 */
+ (instancetype)QRCodeObtainConfigure;
/** 会话预置默认为AVCaptureSessionPreset1920x1080 */
@property (nonatomic, copy) NSString *sessionPreset;
/** 元对象类型默认为AVMetadataObjectTypeQRCode */
@property (nonatomic, strong) NSArray *metadataObjectTypes;
/** 扫描范围,默认整个视图(每一个取值 0 1以屏幕右上角为坐标原点*/
@property (nonatomic, assign) CGRect rectOfInterest;
/** 是否需要样本缓冲代理光线强弱默认为NO */
@property (nonatomic, assign) BOOL sampleBufferDelegate;
/** 打印信息默认为NO */
@property (nonatomic, assign) BOOL openLog;
@end