ios-unity/Classes_cocos/LBXScanTypes.h
2022-11-25 15:08:47 +08:00

36 lines
729 B
Objective-C
Raw 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.

//
//
//
// github:https://github.com/MxABC/LBXScan
//
@import UIKit;
@import Foundation;
@interface LBXScanResult : NSObject
- (instancetype)initWithScanString:(NSString*)str imgScan:(UIImage*)img barCodeType:(NSString*)type;
/**
@brief 条码字符串
*/
@property (nonatomic, copy) NSString* strScanned;
/**
@brief 扫码图像
*/
@property (nonatomic, strong) UIImage* imgScanned;
/**
@brief 扫码码的类型,AVMetadataObjectType 如AVMetadataObjectTypeQRCodeAVMetadataObjectTypeEAN13Code等
*/
@property (nonatomic, copy) NSString* strBarCodeType;
//条码4个角
@property (nonatomic, copy) NSArray<NSDictionary *> *corners;
//没有corners精确
@property (nonatomic, assign) CGRect bounds;
@end