XYLiveRoomChatListView.h 809 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. //
  2. // XYLiveRoomChatListView.h
  3. // Starbuds
  4. //
  5. // Created by pajia on 2020/1/2.
  6. // Copyright © 2020 翟玉磊. All rights reserved.
  7. //
  8. #import "BaseView.h"
  9. NS_ASSUME_NONNULL_BEGIN
  10. @interface XYLiveRoomChatListView : BaseView
  11. @property (nonatomic, copy) void(^XYLiveRoomChatListViewBlock)(XYLiveRoomMessageInfo *info);
  12. - (void)setup;
  13. - (void)clear;
  14. - (void)reload:(XYLiveRoomMessageInfo *)info;
  15. - (void)reloadByArray:(NSArray<NSMutableDictionary *> *)array;
  16. /// 刷新欢迎语
  17. /// @param contentTips 欢迎内容
  18. - (void)reloadHeaderView:(NSString *)contentTips;
  19. /// 刷新第一条消息距离顶部的位置
  20. - (void)reloadHeaderFrame;
  21. /// 关闭聊天公屏
  22. /// @param info 关闭的通知
  23. - (void)chatClose:(XYLiveRoomMessageInfo *)info;
  24. - (void)unreadMsgTap;
  25. @end
  26. NS_ASSUME_NONNULL_END