1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
//
// MobileRTCMeetingUserInfo.h
// MobileRTC
//
// Created by Zoom Video Communications on 2017/2/27.
// Copyright © 2019年 Zoom Video Communications, Inc. All rights reserved.
//
#import <Foundation/Foundation.h>
/*!
@class MobileRTCVideoStatus
@brief The object of video status of the current user in the meeting.
*/
@interface MobileRTCVideoStatus : NSObject
/*!
@brief Query if the user is sending video.
*/
@property (nonatomic, assign) BOOL isSending;
/*!
@brief Query if the user is receiving video.
*/
@property (nonatomic, assign) BOOL isReceiving;
/*!
@brief Check if the camera is connected to the current meeting.
*/
@property (nonatomic, assign) BOOL isSource;
@end
/*!
@brief An Enum for Audio Type.
*/
typedef NS_ENUM(NSUInteger, MobileRTCAudioType) {
///VoIP
MobileRTCAudioType_VoIP = 0,
///Telephony
MobileRTCAudioType_Telephony,
///None
MobileRTCAudioType_None,
};
/*!
@class MobileRTCVideoStatus
@brief The object of the audio status of the current user in the meeting.
*/
@interface MobileRTCAudioStatus : NSObject
/*!
@brief Query if the audio of the current user is muted.
*/
@property (nonatomic, assign) BOOL isMuted;
/*!
@brief Query if the current user is speaking.
*/
@property (nonatomic, assign) BOOL isTalking;
/*!
@brief Check the audio type of the current meeting.
*/
@property (nonatomic, assign) MobileRTCAudioType audioType;
@end
typedef NS_ENUM(NSUInteger, MobileRTCFeedbackType) {
/*!
@brief There is no feedback from user.
*/
MobileRTCFeedbackType_None = 0,
/*!
@brief User rises hand.
*/
MobileRTCFeedbackType_Hand,
/*!
@brief YES.
*/
MobileRTCFeedbackType_Yes,
/*!
@brief NO.
*/
MobileRTCFeedbackType_No,
/*!
@brief faster.
*/
MobileRTCFeedbackType_Fast,
/*!
@brief Slow/Slowly.
*/
MobileRTCFeedbackType_Slow,
/*!
@brief Good.
*/
MobileRTCFeedbackType_Good,
/*!
@brief Bad.
*/
MobileRTCFeedbackType_Bad,
/*!
@brief Clap.
*/
MobileRTCFeedbackType_Clap,
/*!
@brief Coffee.
*/
MobileRTCFeedbackType_Coffee,
/*!
@brief Clock.
*/
MobileRTCFeedbackType_Clock,
/*!
@brief Other expression.
*/
MobileRTCFeedbackType_Emoji,
};
/*!
@brief The information of the current user in the meeting.
*/
@interface MobileRTCMeetingUserInfo : NSObject
/*!
@brief The ID of user.
*/
@property (nonatomic, assign) NSUInteger userID;
/*!
@brief Determine if the information corresponds to the current user.
*/
@property (nonatomic, assign) BOOL isMySelf;
/*!
@brief The value of customerKey.
*/
@property (nonatomic, retain) NSString* _Nullable customerKey;
/*!
@brief The screen name of user.
*/
@property (nonatomic, retain) NSString* _Nonnull userName;
/*!
@brief The path to store the head portrait.
*/
@property (nonatomic, retain) NSString* _Nonnull avatarPath;
/*!
@brief Unread messages in the meeting.
*/
@property (nonatomic, assign) NSInteger unread;
/*!
@brief User's video status in the meeting.
*/
@property (nonatomic, retain) MobileRTCVideoStatus* _Nonnull videoStatus;
/*!
@brief User's audio status in the meeting.
*/
@property (nonatomic, retain) MobileRTCAudioStatus* _Nonnull audioStatus;
/*!
@brief The user raised his hand.
*/
@property (nonatomic, assign) BOOL handRaised;
/*!
@brief User enter the waiting room when joins the meeting.
*/
@property (nonatomic, assign) BOOL inWaitingRoom;
/*!
@brief Query if the current user is the co-host.
*/
@property (nonatomic, assign) BOOL isCohost;
/*!
@brief Query if the current user is the host.
*/
@property (nonatomic, assign) BOOL isHost;
/*!
@brief Query if the current user is h323 user.
*/
@property (nonatomic, assign) BOOL isH323User;
/*!
@brief Query if the current user is Telephone user.
*/
@property (nonatomic, assign) BOOL isPureCallInUser;
/*!
@brief Query if the user is sharing only the sounds of computer.
*/
@property (nonatomic, assign) BOOL isSharingPureComputerAudio;
/*!
@brief The feedback type from the user.
*/
@property (nonatomic, assign) MobileRTCFeedbackType feedbackType;
/*!
@brief the type of role of the user specified by the current information.
*/
@property (nonatomic, assign) MobileRTCUserRole userRole;
/*!
@brief Determine if user is interpreter.
*/
@property (nonatomic, assign) BOOL isInterpreter;
/*!
@brief Get interpreter active language.
*/
@property (nonatomic, retain) NSString* _Nullable interpreterActiveLanguage;
@end
/*!
@brief The information of user in the webinar.
*/
@interface MobileRTCMeetingWebinarAttendeeInfo : NSObject
/*!
@brief The ID of user.
*/
@property (nonatomic, assign) NSUInteger userID;
/*!
@brief Determine if the information corresponds to the current user.
*/
@property (nonatomic, assign) BOOL isMySelf;
/*!
@brief The screen name of user.
*/
@property (nonatomic, retain) NSString * _Nullable userName;
/*!
@brief the type of role of the user specified by the current information.
*/
@property (nonatomic, assign) MobileRTCUserRole userRole;
@end