‪JMSDK iOS  ‪v2.8.0
‪API文档
JCConferenceCommandInfo.h
浏览该文件的文档.
1 //
2 // JCConferenceCommandInfo.h
3 // JCSDKOC
4 //
5 // Created by juphoon on 2018/4/11.
6 // Copyright © 2018年 juphoon. All rights reserved.
7 //
8 
9 #import <Foundation/Foundation.h>
11 
12 NS_ASSUME_NONNULL_BEGIN
13 
18 typedef NS_ENUM(NSInteger, JCConferenceCommandInfoType) {
47 
48 };
49 
51 
55 @interface JCCommandLock : NSObject
59 @property (nonatomic) bool lock;
60 
61 @end
62 
66 @interface JCMember : NSObject
70 @property (nonatomic) bool isMute;
74 @property (nonatomic, copy) NSString *userId;
75 
76 @end
77 
81 @interface JCCommandMute : NSObject
85 @property (nonatomic, copy) NSArray<JCMember *> *members;
89 @property (nonatomic) bool allMute;
93 @property (nonatomic) bool result;
94 
95 @end
96 
100 @interface JCCommandChangeChairman : NSObject
104 @property (nonatomic, copy) NSString *previousChairmanUserId;
108 @property (nonatomic, copy) NSString *currentChairmainUserId;
109 
110 @end
111 
115 @interface JCCommandDelay : NSObject
119 @property (nonatomic) int duration;
120 
121 @end
122 
123 
127 @interface JCCommandFocus : NSObject
131 @property (nullable, nonatomic, strong) NSArray<NSString *> *focusParticipantUserId;
135 @property (nullable, nonatomic, strong) NSArray<NSString *> *cancelFocusParticipantUserId;
136 
137 @end
138 
142 @interface JCCommandHanUp : NSObject
146 @property (nullable, nonatomic, strong) NSArray<NSString *> *handUpParticipantUserId;
150 @property (nullable, nonatomic, strong) NSArray<NSString *> *cancelHandUpParticipantUserId;
151 
152 @end
153 
154 
155 
156 static const int ReasonNone = 0;
157 static const int ReasonOutnumberVideoMemberCount = 1;
158 static const int ReasonOutnumberAudioMemberCount = 2;
162 @interface JCCommandChangeRole : NSObject
166 @property (nonatomic) bool result;
170 @property (nonatomic, assign) JCConferenceParticipantType type;
174 @property (nonatomic) int state;
178 @property (nullable, nonatomic, strong) NSArray<NSString *> *participantUserId;
182 @property (nonatomic) int reason;
183 
184 @end
185 
189 @interface JCConferenceCommandInfo : NSObject
193 @property (nonatomic) JCConferenceCommandInfoType type;
197 @property (nullable, nonatomic, copy) NSString *operatorUserId;
201 @property (nullable, nonatomic, strong) JCCommandLock *commandLock;
205 @property (nullable, nonatomic, strong) JCCommandMute *commandMute;
209 @property (nullable, nonatomic, strong) JCCommandChangeChairman *changeChairman;
213 @property (nullable, nonatomic, strong) JCCommandDelay *commandDelay;
217 @property (nullable, nonatomic, strong) JCCommandFocus *commandFocus;
221 @property (nullable, nonatomic, strong) JCCommandHanUp *commandHandUp;
225 @property (nullable, nonatomic, strong) JCCommandChangeRole *commandChangeRole;
226 
227 @end
228 
229 NS_ASSUME_NONNULL_END
JCConferenceCommandInfoType
Definition: JCConferenceCommandInfo.h:18
@ JCConferenceCommandInfoTypeDelay
会议延长
Definition: JCConferenceCommandInfo.h:40
@ JCConferenceCommandInfoTypeFocus
焦点成员
Definition: JCConferenceCommandInfo.h:42
@ JCConferenceCommandInfoTypeAllMute
全场静音/解除全场静音
Definition: JCConferenceCommandInfo.h:26
@ JCConferenceCommandInfoTypeHandUp
举手成员
Definition: JCConferenceCommandInfo.h:44
@ JCConferenceCommandInfoTypeDelayRemind
预约的会议即将结束(结束前5分钟),提醒主持人是否要延长会议,只有主持人才会收到
Definition: JCConferenceCommandInfo.h:38
@ JCConferenceCommandInfoTypeNone
Definition: JCConferenceCommandInfo.h:20
@ JCConferenceCommandInfoTypeChangeRole
设置成员角色
Definition: JCConferenceCommandInfo.h:46
@ JCConferenceCommandInfoTypeScreenShareStart
成员开启屏幕共享
Definition: JCConferenceCommandInfo.h:32
@ JCConferenceCommandInfoTypeMute
单个成员静音/解除静音
Definition: JCConferenceCommandInfo.h:24
@ JCConferenceCommandInfoTypeCustomPropertyChanged
会议自定义属性变化
Definition: JCConferenceCommandInfo.h:30
@ JCConferenceCommandInfoTypeLock
会议锁定/解锁
Definition: JCConferenceCommandInfo.h:22
@ JCConferenceCommandInfoTypeScreenShareStop
成员关闭屏幕共享
Definition: JCConferenceCommandInfo.h:34
@ JCConferenceCommandInfoTypeChangeChariman
更改主持人
Definition: JCConferenceCommandInfo.h:28
@ JCConferenceCommandInfoTypeDeliveryJoin
推流加入会议(可以开始服务器录制或直播)
Definition: JCConferenceCommandInfo.h:36
JCConferenceParticipantType
Definition: JCConferenceParticipant.h:14
移交主持人
Definition: JCConferenceCommandInfo.h:101
角色改变命令
Definition: JCConferenceCommandInfo.h:163
会议延长
Definition: JCConferenceCommandInfo.h:116
焦点成员
Definition: JCConferenceCommandInfo.h:128
举手成员
Definition: JCConferenceCommandInfo.h:143
会议锁定/解锁
Definition: JCConferenceCommandInfo.h:56
bool lock
Definition: JCConferenceCommandInfo.h:59
单个成员静音/解除静音,会议全场静音/解除全场静音
Definition: JCConferenceCommandInfo.h:82
会议属性变化或会议其他通知
Definition: JCConferenceCommandInfo.h:190
会议对象
Definition: JCConferenceInfo.h:42
会议成员
Definition: JCConferenceParticipant.h:108
静音状态改变的成员
Definition: JCConferenceCommandInfo.h:67