LandscapeShareView.h 823 B

123456789101112131415161718192021222324252627282930313233
  1. //
  2. // LandscapeShareView.h
  3. // YBVideo
  4. //
  5. // Created by ybRRR on 2023/7/12.
  6. // Copyright © 2023 cat. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. typedef NS_ENUM(NSInteger,RKDownType) {
  10. RKDownType_Save, //普通下载
  11. RKDownType_Chorus, //合拍下载
  12. };
  13. typedef void (^ShareBlock)(int codeEvent,NSString *nums);
  14. typedef void (^ShareHideBlock)();
  15. @interface LandscapeShareView : UIView
  16. /** limitDic
  17. * video_status 0-不能合拍 1-能合拍
  18. * video_msg:不能合拍提示
  19. * limit_status 0-有限制 1-无限制
  20. */
  21. @property(nonatomic,strong)NSDictionary *limitDic;
  22. @property(nonatomic,copy)ShareBlock shareEvent;
  23. @property(nonatomic,copy)ShareHideBlock shareHideEvent;
  24. -(instancetype)initWithFrame:(CGRect)frame parameter:(NSDictionary *)parameter andlimitDic:(NSDictionary *)limDic;
  25. @end