Files
peko-ios/YuMi/Modules/YMRoom/View/MicroQueueProtocol.h
2023-07-14 18:50:55 +08:00

39 lines
775 B
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.

//
// MicroQueueProtocol.h
// YUMI
//
// Created by zu on 2021/11/4.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@class MicroQueueModel;
/** 麦序数据的协议。
RoomVC 的子 View 之间的通信协议,通过 RoomHostDelegate 和 RoomGuestDelegate 继承实现。
调用方向:
- getMicroQueueRoomVC 子 View —> RoomHostDelegate —> StageView
- onMicroQueueUpdateStageView —> RoomHostDelegate —> RoomVC 子 View
*/
@protocol MicroQueueProtocol <NSObject>
@optional
/**
* 获取麦序。
*/
- (NSMutableDictionary<NSString *, MicroQueueModel *>*)getMicroQueue;
/**
* 麦序更新通知。
*/
- (void)onMicroQueueUpdate:(NSMutableDictionary<NSString *, MicroQueueModel *>*)queue;
@end
NS_ASSUME_NONNULL_END