LenzCachedResourceModel.h 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. //
  2. // LenzCachedResourceModel.h
  3. // LenzCameraNativeModuleForRN
  4. //
  5. // Created by 王昭威 on 2023/1/29.
  6. //
  7. #import <Foundation/Foundation.h>
  8. #import "LenzSDKConstant.h"
  9. //typedef NS_ENUM(NSInteger, LenFileType) {
  10. // LenFileTypeConous,
  11. // LenFileTypeSingle,
  12. // LenFileTypeMovie,
  13. // LenFileTypePanoram,
  14. // LenFileTypeAiPanoram,
  15. //};
  16. NS_ASSUME_NONNULL_BEGIN
  17. @interface LenzResourceItemModel : NSObject
  18. @property (nonatomic) NSString *idString; //唯一ID
  19. @property (nonatomic) NSString *path; //文件存放的路径
  20. @property (nonatomic) NSString *cameraType;//back|front
  21. @property (nonatomic) NSString *cameraMode;//相机模式 continuous|single|video|panorama|panoramaPlus
  22. @property (nonatomic) BOOL isRemake;
  23. @property (nonatomic) SDKCaptureModeIndex mode;
  24. @property (nonatomic) UIImage *image;
  25. @property (nonatomic) NSMutableArray *keyFrame;
  26. @end
  27. @interface LenzCachedResourceModel : NSObject
  28. @property (nonatomic, copy) NSString* name;
  29. @property (nonatomic, assign) NSInteger type;
  30. @property (nonatomic) NSMutableArray <LenzResourceItemModel *> *continousArray;
  31. @property (nonatomic) NSMutableArray <LenzResourceItemModel *> *singleArray;
  32. @property (nonatomic) NSMutableArray <LenzResourceItemModel *> *movieArray;
  33. @property (nonatomic) NSMutableArray <LenzResourceItemModel *> *panoramArray;
  34. @property (nonatomic) NSMutableArray <LenzResourceItemModel *> *aiPanoramArray;
  35. @property (nonatomic) SDKCaptureModeIndex lastIndex;
  36. //@property (nonatomic) NSMutableArray <UIImage *> *lastShowArray;
  37. @end
  38. NS_ASSUME_NONNULL_END