43 lines
1.4 KiB
Objective-C
43 lines
1.4 KiB
Objective-C
//
|
|
// YMRoomSettingProtocol.h
|
|
// YUMI
|
|
//
|
|
// Created by YUMI on 2021/12/27.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import "XPRoomSettingItemModel.h"
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
@class RoomInfoModel;
|
|
@protocol XPRoomSettingProtocol <NSObject>
|
|
@optional
|
|
///房间设置的列表数据
|
|
- (void)getRoomSettingListSuccess:(NSArray *)list;
|
|
///获取房间信息成功
|
|
- (void)getRoomInfoSuccess:(RoomInfoModel *)roomInfo;
|
|
///开启排麦成功
|
|
- (void)openRoomArrangeMicSuccess;
|
|
///关闭排麦成功
|
|
- (void)closeRoomArrangeMicSuccess;
|
|
///更新房间公屏的开启状态
|
|
- (void)updateRoomMessageScreenStateSuccess:(RoomInfoModel *)roomInfo;
|
|
///开启离线成功
|
|
- (void)openRoomLeaveModeSuccess;
|
|
///关闭离线成功
|
|
- (void)closeRoomLeaveModeSuccess;
|
|
///更新房间信息成功
|
|
- (void)updateRoomInfoSuccess:(RoomInfoModel *)roomInfo itemType:(RoomSettingItemType)itemType;
|
|
///更新房间信息失败
|
|
- (void)updateRoomInfoFail:(NSString *)message;
|
|
//获取房间在线用户成功
|
|
-(void)getRoomOnlineUserListSuccess:(NSArray *)list;
|
|
-(void)closeRoomGiftValueSuccessWithItemModel:(XPRoomSettingItemModel *)itemModel;
|
|
-(void)closeRoomGiftValueFailWithItemModel:(XPRoomSettingItemModel *)itemModel;
|
|
-(void)openRoomGiftValueSuccessWithItemModel:(XPRoomSettingItemModel *)itemModel;
|
|
-(void)openRoomGiftValueFailWithItemModel:(XPRoomSettingItemModel *)itemModel;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|