PBChatRoomView.h 891 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. //
  2. // PBChatRoomView.h
  3. // PBSDK_Example
  4. //
  5. // Created by hello on 2024/12/25.
  6. // Copyright © 2024 uxiume. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. #import <JXCategoryView/JXCategoryListContainerView.h>
  10. #import "PBRoomModel.h"
  11. @class EMChatMessage;
  12. NS_ASSUME_NONNULL_BEGIN
  13. @interface PBChatRoomView : UIView<JXCategoryListContentViewDelegate>
  14. @property(nonatomic,strong)PBRoomModel*model;
  15. - (void)reloadData:(NSArray *)data;
  16. - (void)insertMessage:(EMChatMessage *)message;
  17. ///发送文本消息
  18. @property (nonatomic,copy) void (^sendText)(PBChatRoomView *roomView,NSString *text);
  19. ///切换直播类型
  20. @property (nonatomic,copy) void (^changeAction)(PBChatRoomView *roomView);
  21. - (void)updateFans:(NSString *)fans;
  22. - (void)clearMoreViewAndSelectedButton;
  23. - (void)displayChangeButton:(BOOL)isShow;
  24. - (void)updatePlaceholder:(NSString *)text;
  25. @end
  26. NS_ASSUME_NONNULL_END