YBLivePreview.h 676 B

123456789101112131415161718192021222324252627282930
  1. //
  2. // YBLivePreview.h
  3. // YBVideo
  4. //
  5. // Created by YB007 on 2019/11/29.
  6. // Copyright © 2019 cat. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. typedef NS_ENUM(NSInteger,FunctionType) {
  10. FunctionType_shop,
  11. FunctionType_camera,
  12. FunctionType_meiyan,
  13. FunctionType_share,
  14. FunctionType_upHot,
  15. };
  16. typedef void (^LivePreBlock)(NSString *eventType,NSString*eventContent);
  17. @interface YBLivePreview : UIView
  18. @property(nonatomic,copy)LivePreBlock livePreEvent;
  19. @property(nonatomic,strong)NSString *inputTitleStr;
  20. @property(nonatomic,assign)BOOL locationSwitch;
  21. @property(nonatomic,assign)BOOL cartOpen;
  22. @property(nonatomic,strong)UIImage *thumbImage;
  23. @end