// // // // github:https://github.com/MxABC/LBXScan // Created by lbxia on 15/3/4. // Copyright (c) 2015年 lbxia. All rights reserved. // @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 如AVMetadataObjectTypeQRCode,AVMetadataObjectTypeEAN13Code等 如果使用ZXing扫码,返回类型也已经转换成对应的AVMetadataObjectType */ @property (nonatomic, copy) NSString* strBarCodeType; @end