Files
peko-ios/YuMi/Modules/YMRoom/View/RoomGuestDelegate.h

45 lines
1.1 KiB
C
Raw Normal View History

2023-07-14 18:50:55 +08:00
//
// RoomGuestDelegate.h
// YUMI
//
// Created by zu on 2021/10/27.
//
#import <Foundation/Foundation.h>
#import "MicroQueueProtocol.h"
#import "RoomAnimationProtocol.h"
@class NIMMessage, NIMRecentSession;
@class AttachmentModel;
NS_ASSUME_NONNULL_BEGIN
/** RoomVC 子 View 的通用协议。
RoomVC > RoomGuestDelegate
**Note:**
MicroQueueProtocolRoomAnimationProtocol View
View > RoomHostDelegate > XXXProtocolRoomGuestDelegate
*/
@protocol RoomGuestDelegate <NSObject, MicroQueueProtocol, RoomAnimationProtocol>
@optional
- (void)onRoomUpdate;
- (void)onUserUpdate;
- (void)onRoomEntered;
/// 个播 可以切换房间
- (void)onRoomChange;
- (void)onRoomMiniEntered;///最小化进房
- (void)handleNIMNotificationMessage:(NIMMessage *)message;
- (void)handleNIMCustomMessage:(NIMMessage *)message;
- (void)handleNIMTextMessage:(NIMMessage *)message;
- (void)addNIMRecentSession:(NIMRecentSession *)session;
- (void)removeNIMRecentSession:(NIMRecentSession *)session;
@end
NS_ASSUME_NONNULL_END