移除XPRoomViewController不需要暴露的成员变量
This commit is contained in:
@@ -89,7 +89,7 @@
|
||||
if (toast) {
|
||||
[self.view showErrorToast:msg];
|
||||
}
|
||||
///fail 存在才能调用方法
|
||||
|
||||
if (fail) {
|
||||
fail(code, msg);
|
||||
}
|
||||
|
@@ -11,7 +11,9 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@protocol RtcDelegate <NSObject>
|
||||
|
||||
///说话者声音的回调
|
||||
/**
|
||||
当前正在讲话的用户回调。
|
||||
*/
|
||||
- (void)usersSpeaking:(NSMutableArray * _Nullable)uids;
|
||||
|
||||
@end
|
||||
|
@@ -89,6 +89,4 @@
|
||||
[self.delegate usersSpeaking:uids];
|
||||
}
|
||||
|
||||
|
||||
|
||||
@end
|
||||
|
@@ -11,7 +11,9 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@protocol RtcImplDelegate <NSObject>
|
||||
|
||||
/** 发言用户回调。 */
|
||||
/**
|
||||
用户讲话回调。
|
||||
*/
|
||||
- (void)usersSpeaking:(NSMutableArray * _Nullable)uids;
|
||||
|
||||
@end
|
||||
|
@@ -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>
|
||||
|
@@ -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 启动方
|
||||
|
@@ -44,7 +44,7 @@
|
||||
///活动
|
||||
@property (nonatomic,strong) XPRoomActivityContainerView *activityContainerView;
|
||||
|
||||
//房间的Uid
|
||||
///房间的Uid
|
||||
@property (nonatomic,copy) NSString * roomUid;
|
||||
///用户信息
|
||||
@property (nonatomic,strong) UserInfoModel *userInfo;
|
||||
|
Reference in New Issue
Block a user