1234567891011121314151617181920212223242526272829303132333435363738 |
- //
- // PBChatRoomView.h
- // PBSDK_Example
- //
- // Created by hello on 2024/12/25.
- // Copyright © 2024 uxiume. All rights reserved.
- //
- #import <UIKit/UIKit.h>
- #import <JXCategoryView/JXCategoryListContainerView.h>
- #import "PBRoomModel.h"
- @class EMChatMessage;
- NS_ASSUME_NONNULL_BEGIN
- @interface PBChatRoomView : UIView<JXCategoryListContentViewDelegate>
- @property(nonatomic,strong)PBRoomModel*model;
- - (void)reloadData:(NSArray *)data;
- - (void)insertMessage:(EMChatMessage *)message;
- ///发送文本消息
- @property (nonatomic,copy) void (^sendText)(PBChatRoomView *roomView,NSString *text);
- ///切换直播类型
- @property (nonatomic,copy) void (^changeAction)(PBChatRoomView *roomView);
- - (void)updateFans:(NSString *)fans;
- - (void)clearMoreViewAndSelectedButton;
- - (void)displayChangeButton:(BOOL)isShow;
- - (void)updatePlaceholder:(NSString *)text;
- @end
- NS_ASSUME_NONNULL_END
|