37 lines
942 B
Objective-C
37 lines
942 B
Objective-C
//
|
|
// YMRoomMessageView.h
|
|
// YUMI
|
|
//
|
|
// Created by YUMI on 2021/10/11.
|
|
//
|
|
|
|
#import <UIKit/UIKit.h>
|
|
#import "RoomHostDelegate.h"
|
|
#import "RoomGuestDelegate.h"
|
|
#import <JXCategoryView/JXCategoryListContainerView.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
@class XPRoomMessageContainerView, AttachmentModel, NIMBroadcastMessage;
|
|
@protocol XPRoomMessageContainerViewDelegate <NSObject>
|
|
|
|
- (void)xPRoomMessageContainerViewlDidTapEmpty:(XPRoomMessageContainerView *)view;
|
|
|
|
@end
|
|
|
|
|
|
@interface XPRoomMessageContainerView : UIView<RoomGuestDelegate,JXCategoryListContentViewDelegate>
|
|
|
|
@property(nonatomic,weak) id<XPRoomMessageContainerViewDelegate>delegate;
|
|
- (void)showUserCard:(NSInteger)uid;
|
|
- (instancetype)initWithDelegate:(id<RoomHostDelegate>)delegate;
|
|
|
|
- (void)changeType:(NSInteger)type;
|
|
|
|
- (void)handleBroadcastMessageAttachment:(AttachmentModel *)attachment;
|
|
- (void)handleBroadcastMessage:(NIMBroadcastMessage *)message;
|
|
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|