1 | <?php |
||
26 | class Meeting |
||
27 | { |
||
28 | |||
29 | /** |
||
30 | * @var \SimpleXMLElement |
||
31 | */ |
||
32 | protected $rawXml; |
||
33 | |||
34 | /** |
||
35 | * @var string |
||
36 | */ |
||
37 | private $meetingId; |
||
38 | |||
39 | /** |
||
40 | * @var string |
||
41 | */ |
||
42 | private $meetingName; |
||
43 | |||
44 | /** |
||
45 | * @var double |
||
46 | */ |
||
47 | private $creationTime; |
||
48 | |||
49 | /** |
||
50 | * @var string |
||
51 | */ |
||
52 | private $creationDate; |
||
53 | |||
54 | /** |
||
55 | * @var int |
||
56 | */ |
||
57 | private $voiceBridge; |
||
58 | |||
59 | /** |
||
60 | * @var string |
||
61 | */ |
||
62 | private $dialNumber; |
||
63 | |||
64 | /** |
||
65 | * @var string |
||
66 | */ |
||
67 | private $attendeePassword; |
||
68 | |||
69 | /** |
||
70 | * @var string |
||
71 | */ |
||
72 | private $moderatorPassword; |
||
73 | |||
74 | /** |
||
75 | * @var bool |
||
76 | */ |
||
77 | private $hasBeenForciblyEnded; |
||
78 | |||
79 | /** |
||
80 | * @var bool |
||
81 | */ |
||
82 | private $isRunning; |
||
83 | |||
84 | /** |
||
85 | * @var int |
||
86 | */ |
||
87 | private $participantCount; |
||
88 | |||
89 | /** |
||
90 | * @var int |
||
91 | */ |
||
92 | private $listenerCount; |
||
93 | |||
94 | /** |
||
95 | * @var int |
||
96 | */ |
||
97 | private $voiceParticipantCount; |
||
98 | |||
99 | /** |
||
100 | * @var int |
||
101 | */ |
||
102 | private $videoCount; |
||
103 | |||
104 | /** |
||
105 | * @var int |
||
106 | */ |
||
107 | private $duration; |
||
108 | |||
109 | /** |
||
110 | * @var bool |
||
111 | */ |
||
112 | private $hasUserJoined; |
||
113 | |||
114 | /** |
||
115 | * @var string |
||
116 | */ |
||
117 | private $internalMeetingId; |
||
118 | |||
119 | /** |
||
120 | * @var bool |
||
121 | */ |
||
122 | private $isRecording; |
||
123 | |||
124 | /** |
||
125 | * @var double |
||
126 | */ |
||
127 | private $startTime; |
||
128 | |||
129 | /** |
||
130 | * @var double |
||
131 | */ |
||
132 | private $endTime; |
||
133 | |||
134 | /** |
||
135 | * @var int |
||
136 | */ |
||
137 | private $maxUsers; |
||
138 | |||
139 | /** |
||
140 | * @var int |
||
141 | */ |
||
142 | private $moderatorCount; |
||
143 | |||
144 | /** |
||
145 | * @var Attendee[] |
||
146 | */ |
||
147 | private $attendees; |
||
148 | |||
149 | /** |
||
150 | * @var array |
||
151 | */ |
||
152 | private $metas; |
||
153 | |||
154 | /** |
||
155 | * Meeting constructor. |
||
156 | * @param $xml \SimpleXMLElement |
||
157 | */ |
||
158 | public function __construct($xml) |
||
184 | |||
185 | /** |
||
186 | * @return string |
||
187 | */ |
||
188 | public function getMeetingId() |
||
192 | |||
193 | /** |
||
194 | * @return string |
||
195 | */ |
||
196 | public function getMeetingName() |
||
200 | |||
201 | /** |
||
202 | * @return double |
||
203 | */ |
||
204 | public function getCreationTime() |
||
208 | |||
209 | /** |
||
210 | * @return string |
||
211 | */ |
||
212 | public function getCreationDate() |
||
216 | |||
217 | /** |
||
218 | * @return int |
||
219 | */ |
||
220 | public function getVoiceBridge() |
||
224 | |||
225 | /** |
||
226 | * @return string |
||
227 | */ |
||
228 | public function getDialNumber() |
||
232 | |||
233 | /** |
||
234 | * @return string |
||
235 | */ |
||
236 | public function getAttendeePassword() |
||
240 | |||
241 | /** |
||
242 | * @return string |
||
243 | */ |
||
244 | public function getModeratorPassword() |
||
248 | |||
249 | /** |
||
250 | * @return bool |
||
251 | */ |
||
252 | public function hasBeenForciblyEnded() |
||
256 | |||
257 | /** |
||
258 | * @return bool |
||
259 | */ |
||
260 | public function isRunning() |
||
264 | |||
265 | /** |
||
266 | * @return int |
||
267 | */ |
||
268 | public function getParticipantCount() |
||
272 | |||
273 | /** |
||
274 | * @return int |
||
275 | */ |
||
276 | public function getListenerCount() |
||
280 | |||
281 | /** |
||
282 | * @return int |
||
283 | */ |
||
284 | public function getVoiceParticipantCount() |
||
288 | |||
289 | /** |
||
290 | * @return int |
||
291 | */ |
||
292 | public function getVideoCount() |
||
296 | |||
297 | /** |
||
298 | * @return int |
||
299 | */ |
||
300 | public function getDuration() |
||
304 | |||
305 | /** |
||
306 | * @return bool |
||
307 | */ |
||
308 | public function hasUserJoined() |
||
312 | |||
313 | /** |
||
314 | * @return string |
||
315 | */ |
||
316 | public function getInternalMeetingId() |
||
320 | |||
321 | /** |
||
322 | * @return bool |
||
323 | */ |
||
324 | public function isRecording() |
||
328 | |||
329 | /** |
||
330 | * @return double |
||
331 | */ |
||
332 | public function getStartTime() |
||
336 | |||
337 | /** |
||
338 | * @return double |
||
339 | */ |
||
340 | public function getEndTime() |
||
344 | |||
345 | /** |
||
346 | * @return int |
||
347 | */ |
||
348 | public function getMaxUsers() |
||
352 | |||
353 | /** |
||
354 | * @return int |
||
355 | */ |
||
356 | public function getModeratorCount() |
||
360 | |||
361 | /** |
||
362 | * @return Attendee[] |
||
363 | */ |
||
364 | public function getAttendees() |
||
375 | |||
376 | /** |
||
377 | * @return array |
||
378 | */ |
||
379 | public function getMetas() |
||
390 | } |
||
391 |