YBImRoomSmallView.h 704 B

123456789101112131415161718192021222324252627282930313233343536
  1. //
  2. // YBImRoomSmallView.h
  3. // iphoneLive
  4. //
  5. // Created by YB007 on 2022/6/17.
  6. // Copyright © 2022 cat. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. typedef NS_ENUM(NSInteger,ImSmallType) {
  10. ImSmall_C2C,
  11. ImSmall_List,
  12. };
  13. typedef NS_ENUM(NSInteger,ImCtrType) {
  14. ImCtr_Dismiss,
  15. };
  16. typedef void (^ImCtrBlock)(ImCtrType type,NSDictionary *ctrDic);
  17. @interface YBImRoomSmallView : UIView
  18. +(instancetype)showImListWithLiveUid:(NSString *)liveuid;
  19. @property(nonatomic,assign)ImSmallType imSmallType;
  20. @property(nonatomic,copy)ImCtrBlock imCtrEvent;
  21. #pragma mark - 列表
  22. //-(void)pullListData;
  23. #pragma mark - C2C
  24. -(void)goChatWithC2CWithConv:(TConversationCellData *)conversation;
  25. @end