Files
yinmeng-ios/xplan-ios/Main/Room/View/RoomGuestDelegate.h
2022-08-11 11:52:22 +08:00

45 lines
1.1 KiB
Objective-C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//
// RoomGuestDelegate.h
// xplan-ios
//
// 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:**
继承 MicroQueueProtocol、RoomAnimationProtocol 等协议用于子 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