LenzCachedResourceModel.h 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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. @property (nonatomic) BOOL isStitch;
  27. @end
  28. @interface LenzCachedResourceModel : NSObject
  29. @property (nonatomic, copy) NSString* name;
  30. @property (nonatomic, assign) NSInteger type;
  31. @property (nonatomic) NSMutableArray <LenzResourceItemModel *> *continousArray;
  32. @property (nonatomic) NSMutableArray <LenzResourceItemModel *> *singleArray;
  33. @property (nonatomic) NSMutableArray <LenzResourceItemModel *> *movieArray;
  34. @property (nonatomic) NSMutableArray <LenzResourceItemModel *> *panoramArray;
  35. @property (nonatomic) NSMutableArray <LenzResourceItemModel *> *aiPanoramArray;
  36. @property (nonatomic) SDKCaptureModeIndex lastIndex;
  37. //@property (nonatomic) NSMutableArray <UIImage *> *lastShowArray;
  38. @end
  39. NS_ASSUME_NONNULL_END