移除XPRoomViewController不需要暴露的成员变量

This commit is contained in:
zu
2021-11-18 15:33:30 +08:00
parent b12291eacd
commit df583ca7e1
7 changed files with 9 additions and 34 deletions

View File

@@ -89,7 +89,7 @@
if (toast) {
[self.view showErrorToast:msg];
}
///fail
if (fail) {
fail(code, msg);
}

View File

@@ -11,7 +11,9 @@ NS_ASSUME_NONNULL_BEGIN
@protocol RtcDelegate <NSObject>
///说话者声音的回调
/**
当前正在讲话的用户回调。
*/
- (void)usersSpeaking:(NSMutableArray * _Nullable)uids;
@end

View File

@@ -89,6 +89,4 @@
[self.delegate usersSpeaking:uids];
}
@end

View File

@@ -11,7 +11,9 @@ NS_ASSUME_NONNULL_BEGIN
@protocol RtcImplDelegate <NSObject>
/** 发言用户回调。 */
/**
用户讲话回调。
*/
- (void)usersSpeaking:(NSMutableArray * _Nullable)uids;
@end

View File

@@ -2,7 +2,7 @@
// RtcInterface.h
// xplan-ios
//
// Created by 冯硕 on 2021/10/20.
// Created by zu on 2021/10/20.
//
#import <Foundation/Foundation.h>

View File

@@ -9,35 +9,8 @@
NS_ASSUME_NONNULL_BEGIN
@class XPRoomBackContainerView;
@class RoomHeaderView;
@class XPRoomMessageContainerView;
@class XPRoomMenuContainerView;
@class XPRoomActivityContainerView;
@class XPRoomPositionContainView;
@class RoomInfoModel;
@class UserInfoModel;
@class SocialStageView;
@interface XPRoomViewController : MvpViewController
///背景
@property (nonatomic,strong, readonly) XPRoomBackContainerView *backContainerView;
///房间信息
@property (nonatomic,strong, readonly) RoomHeaderView *roomHeaderView;
///坑位信息
@property (nonatomic,strong, readonly) SocialStageView *stageView;
///公屏
@property (nonatomic,strong, readonly) XPRoomMessageContainerView *messageContainerView;
///底部操作栏
@property (nonatomic,strong, readonly) XPRoomMenuContainerView *menuContainerView;
///活动
@property (nonatomic,strong, readonly) XPRoomActivityContainerView *activityContainerView;
///房间信息
@property (nonatomic,strong, readonly) RoomInfoModel *roomInfo;
///用户信息
@property (nonatomic,strong, readonly) UserInfoModel *userInfo;
/** XPRoomViewController 不允许外部 init ,请通过该方法启动房间。
* @params roomUid 房主uid
* @params viewController 启动方

View File

@@ -44,7 +44,7 @@
///
@property (nonatomic,strong) XPRoomActivityContainerView *activityContainerView;
//Uid
///Uid
@property (nonatomic,copy) NSString * roomUid;
///
@property (nonatomic,strong) UserInfoModel *userInfo;