LenzCachedResourceModel.h 1.6 KB

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