OperationNodeMovie.h 833 B

123456789101112131415161718192021222324252627282930313233343536
  1. //
  2. // OperationNodeMovie.h
  3. // sampleSDK
  4. //
  5. // Created by 王昭威 on 2023/1/19.
  6. //
  7. #import <Foundation/Foundation.h>
  8. #import "OperationNodeProtocol.h"
  9. #import "OperationNodeVideoBase.h"
  10. #import <UIKit/UIKit.h>
  11. NS_ASSUME_NONNULL_BEGIN
  12. @interface RecordedMovieModel : NSObject
  13. @property (nonatomic, strong) NSURL* fileUrl;
  14. @property (nonatomic, strong) UIImage* thumbnail;
  15. - (instancetype)initWithFileUrl: (NSURL*)fileUrl thumbnail: (UIImage*)thumbnail;
  16. @end
  17. @interface OperationNodeMovie : OperationNodeVideoBase <OperationNodeBackgroundProtocol>
  18. @property (nonatomic, weak) PCSBaseViewController* ctr;
  19. @property (nonatomic, assign, readonly) BOOL enable;
  20. @property (nonatomic, readonly) NSArray<RecordedMovieModel*>* cachedMovies;
  21. @property (nonatomic, assign ,readonly) BOOL isRecording;
  22. @end
  23. NS_ASSUME_NONNULL_END