45 lines
1.1 KiB
Objective-C
45 lines
1.1 KiB
Objective-C
//
|
|
// XPIMRoomMicQueueInterface.h
|
|
// xplan-ios
|
|
//
|
|
// Created by 冯硕 on 2021/10/21.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
///Third
|
|
#import <NIMSDK/NIMSDK.h>
|
|
#import "XPIMRoomMicQueueDelegate.h"
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
@class UserInfoModel;
|
|
@protocol XPIMRoomMicQueueInterface <NSObject>
|
|
|
|
///进入房间成功之后根据扩展字段整理麦序
|
|
- (void)enterRoomRepairMicQueue:(NSDictionary *)micDictory;
|
|
///获取房间队列
|
|
- (void)fetchRoomQueue:(NSString *)roomid;
|
|
///麦序的队列
|
|
- (NSDictionary *)microQueue;
|
|
|
|
///上麦 -1 到 7
|
|
- (void)upMic:(NSString *)position;
|
|
///下麦 -1 到 7
|
|
- (void)downMic:(NSString *)position;
|
|
|
|
///更新坑位的状态
|
|
- (void)updateMicroStatus:(NSArray *)microStatus;
|
|
|
|
///收到了上下麦的消息
|
|
- (void)onReceiveRoomQueueUpdate:(NIMChatroomNotificationContent *)content;
|
|
|
|
///添加代理
|
|
- (void)addDelegate:(id<XPIMRoomMicQueueDelegate>)delegate;
|
|
///移除代理
|
|
- (void)removeDelegate:(id<XPIMRoomMicQueueDelegate>)delegate;
|
|
|
|
///TODO 先这样用着 上麦需要用户信息
|
|
- (void)setCurrentUserInfo:(UserInfoModel *)userInfo;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|