forked from bigbluebutton/bigbluebutton-api-php
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCreateMeetingParameters.php
More file actions
1517 lines (1250 loc) · 48.5 KB
/
Copy pathCreateMeetingParameters.php
File metadata and controls
1517 lines (1250 loc) · 48.5 KB
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
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?php
/*
* BigBlueButton open source conferencing system - https://www.bigbluebutton.org/.
*
* Copyright (c) 2016-2024 BigBlueButton Inc. and by respective authors (see below).
*
* This program is free software; you can redistribute it and/or modify it under the
* terms of the GNU Lesser General Public License as published by the Free Software
* Foundation; either version 3.0 of the License, or (at your option) any later
* version.
*
* BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License along
* with BigBlueButton; if not, see <https://www.gnu.org/licenses/>.
*/
namespace BigBlueButton\Parameters;
/**
* Class CreateMeetingParameters.
*/
class CreateMeetingParameters extends MetaParameters
{
use DocumentableTrait;
private ?string $meetingId = null;
private ?string $meetingName = null;
/**
* @deprecated Password-string replaced by an Enum\Role-constant in JoinMeetingParameters::__construct()
*/
private ?string $attendeePassword = null;
/**
* @deprecated Password-string replaced by an Enum\Role-constant in JoinMeetingParameters::__construct()
*/
private ?string $moderatorPassword = null;
private ?string $dialNumber = null;
private ?int $voiceBridge = null;
private ?string $webVoice = null;
private ?string $logoutUrl = null;
private ?int $maxParticipants = null;
private ?bool $record = null;
private ?bool $autoStartRecording = null;
private ?bool $allowStartStopRecording = null;
private ?int $duration = null;
private ?string $welcomeMessage = null;
private ?string $moderatorOnlyMessage = null;
private ?bool $webcamsOnlyForModerator = null;
private ?string $logo = null;
private ?string $copyright = null;
private ?bool $muteOnStart = null;
private ?bool $lockSettingsDisableCam = null;
private ?bool $lockSettingsDisableMic = null;
private ?bool $lockSettingsDisablePrivateChat = null;
private ?bool $lockSettingsDisablePublicChat = null;
private ?bool $lockSettingsDisableNote = null;
private ?bool $lockSettingsHideUserList = null;
private ?bool $lockSettingsLockedLayout = null;
private ?bool $lockSettingsLockOnJoin = null;
private ?bool $lockSettingsLockOnJoinConfigurable = null;
private ?bool $lockSettingsHideViewersCursor = null;
private ?bool $allowModsToUnmuteUsers = null;
private ?bool $allowModsToEjectCameras = null;
private ?bool $allowRequestsWithoutSession = null;
private ?bool $isBreakout = null;
private ?string $parentMeetingId = null;
private ?int $sequence = null;
private ?bool $freeJoin = null;
private ?string $guestPolicy = null;
private ?string $bannerText = null;
private ?string $bannerColor = null;
/**
* @deprecated Removed in 2.5, temporarily still handled, please transition to disabledFeatures.
*/
private ?bool $learningDashboardEnabled = null;
/**
* @deprecated Removed in 2.5, temporarily still handled, please transition to disabledFeatures.
*/
private ?bool $virtualBackgroundsDisabled = null;
private ?int $learningDashboardCleanupDelayInMinutes = null;
private ?int $endWhenNoModeratorDelayInMinutes = null;
private ?bool $endWhenNoModerator = null;
private ?bool $meetingKeepEvents = null;
/**
* @deprecated Removed in 2.5, temporarily still handled, please transition to disabledFeatures.
*/
private ?bool $breakoutRoomsEnabled = null;
private ?bool $breakoutRoomsRecord = null;
private ?bool $breakoutRoomsPrivateChatEnabled = null;
private ?string $meetingEndedURL = null;
private ?string $meetingLayout = null;
private ?int $userCameraCap = null;
private ?int $meetingCameraCap = null;
private ?int $meetingExpireIfNoUserJoinedInMinutes = null;
private ?int $meetingExpireWhenLastUserLeftInMinutes = null;
private ?string $preUploadedPresentation = null;
private ?string $preUploadedPresentationName = null;
private ?bool $preUploadedPresentationOverrideDefault = null;
/**
* @var array<string, mixed>
*/
private array $disabledFeatures = [];
/**
* @var array<string, mixed>
*/
private array $disabledFeaturesExclude = [];
private ?bool $recordFullDurationMedia = null;
/**
* @var array<int, array<string, mixed>>
*/
private array $breakoutRoomsGroups = [];
private ?bool $notifyRecordingIsOn = null;
private ?string $presentationUploadExternalUrl = null;
private ?string $presentationUploadExternalDescription = null;
/**
* CreateMeetingParameters constructor.
*
* @param mixed $meetingId
* @param mixed $meetingName
*/
public function __construct($meetingId = null, $meetingName = null)
{
$this->meetingId = $meetingId;
$this->meetingName = $meetingName;
}
public function getMeetingId(): ?string
{
return $this->meetingId;
}
/**
* A meeting ID that can be used to identify this meeting by the 3rd-party application.
*
* This must be unique to the server that you are calling: different active meetings can not have the same meeting
* ID. If you supply a non-unique meeting ID (a meeting is already in progress with the same meeting ID), then if
* the other parameters in the create call are identical, the create call will succeed (but will receive a warning
* message in the response). The create call is idempotent: calling multiple times does not have any side effect.
* This enables a 3rd-party applications to avoid checking if the meeting is running and always call create before
* joining each user.
*
* Meeting IDs should only contain upper/lower ASCII letters, numbers, dashes, or underscores. A good choice for
* the meeting ID is to generate a GUID value as this all but guarantees that different meetings will not have the
* same meetingID.
*/
public function setMeetingId(string $meetingId): self
{
$this->meetingId = $meetingId;
return $this;
}
public function getMeetingName(): ?string
{
return $this->meetingName;
}
/**
* A name for the meeting. This is now required as of BigBlueButton 2.4.
*/
public function setMeetingName(string $meetingName): self
{
$this->meetingName = $meetingName;
return $this;
}
/**
* @deprecated Password-string replaced by an Enum\Role-constant in JoinMeetingParameters::__construct()
*/
public function getAttendeePassword(): ?string
{
return $this->attendeePassword;
}
/**
* The password that the join URL can later provide as its password parameter to indicate the user will join as a
* viewer. If no attendeePW is provided, the create call will return a randomly generated attendeePW password for
* the meeting.
*
* @deprecated Password-string replaced by an Enum\Role-constant in JoinMeetingParameters::__construct()
*/
public function setAttendeePassword(string $attendeePassword): self
{
$this->attendeePassword = $attendeePassword;
return $this;
}
/**
* @deprecated Password-string replaced by an Enum\Role-constant in JoinMeetingParameters::__construct()
*/
public function getModeratorPassword(): ?string
{
return $this->moderatorPassword;
}
/**
* The password that will join URL can later provide as its password parameter to indicate the user will as a
* moderator. if no moderatorPW is provided, create will return a randomly generated moderatorPW password for
* the meeting.
*
* @deprecated Password-string replaced by an Enum\Role-constant in JoinMeetingParameters::__construct()
*/
public function setModeratorPassword(string $moderatorPassword): self
{
$this->moderatorPassword = $moderatorPassword;
return $this;
}
public function getDialNumber(): ?string
{
return $this->dialNumber;
}
/**
* The dial access number that participants can call in using regular phone. You can set a default dial number
* via defaultDialAccessNumber in 'bigbluebutton.properties'.
*/
public function setDialNumber(string $dialNumber): self
{
$this->dialNumber = $dialNumber;
return $this;
}
public function getVoiceBridge(): ?int
{
return $this->voiceBridge;
}
/**
* Voice conference number for the FreeSWITCH voice conference associated with this meeting. This must be a 5-digit
* number in the range 10000 to 99999. If you add a phone number to your BigBlueButton server, This parameter sets
* the personal identification number (PIN) that FreeSWITCH will prompt for a phone-only user to enter. If you want
* to change this range, edit FreeSWITCH dialplan and defaultNumDigitsForTelVoice of bigbluebutton.properties.
*
* The voiceBridge number must be different for every meeting.
*
* This parameter is optional. If you do not specify a voiceBridge number, then BigBlueButton will assign a random
* unused number for the meeting.
*
* If do you pass a voiceBridge number, then you must ensure that each meeting has a unique voiceBridge number;
* otherwise, reusing same voiceBridge number for two different meetings will cause users from one meeting to appear
* as phone users in the other, which will be very confusing to users in both meetings.
*/
public function setVoiceBridge(int $voiceBridge): self
{
$this->voiceBridge = $voiceBridge;
return $this;
}
public function getWebVoice(): ?string
{
return $this->webVoice;
}
public function setWebVoice(string $webVoice): self
{
$this->webVoice = $webVoice;
return $this;
}
public function getLogoutUrl(): ?string
{
return $this->logoutUrl;
}
/**
* The URL that the BigBlueButton client will go to after users click the OK button on the ‘You have been logged
* out message’. This overrides the value for bigbluebutton.web.logoutURL in bigbluebutton.properties.
*/
public function setLogoutUrl(string $logoutUrl): self
{
$this->logoutUrl = $logoutUrl;
return $this;
}
public function getMaxParticipants(): ?int
{
return $this->maxParticipants;
}
/**
* Set the maximum number of users allowed to join the conference at the same time.
*/
public function setMaxParticipants(int $maxParticipants): self
{
$this->maxParticipants = $maxParticipants;
return $this;
}
public function isRecorded(): ?bool
{
return $this->record;
}
/**
* Setting ‘record=true’ instructs the BigBlueButton server to record the media and events in the session for
* later playback. The default is false.
*
* In order for a playback file to be generated, a moderator must click the Start/Stop Recording button at least
* once during the session; otherwise, in the absence of any recording marks, the record and playback scripts will
* not generate a playback file. See also the autoStartRecording and allowStartStopRecording parameters in
* 'bigbluebutton.properties'.
*/
public function setRecord(bool $record): self
{
$this->record = $record;
return $this;
}
public function isAutoStartRecording(): ?bool
{
return $this->autoStartRecording;
}
/**
* Whether to automatically start recording when first user joins (default false).
*
* When this parameter is true, the recording UI in BigBlueButton will be initially active. Moderators in the
* session can still pause and restart recording using the UI control.
*
* NOTE: Don’t pass autoStartRecording=false and allowStartStopRecording=false - the moderator won’t be able to
* start recording!
*/
public function setAutoStartRecording(bool $autoStartRecording): self
{
$this->autoStartRecording = $autoStartRecording;
return $this;
}
public function isAllowStartStopRecording(): ?bool
{
return $this->allowStartStopRecording;
}
/**
* Allow the user to start/stop recording (default true).
*
* If you set both allowStartStopRecording=false and autoStartRecording=true, then the entire length of the
* session will be recorded, and the moderators in the session will not be able to pause/resume the recording.
*/
public function setAllowStartStopRecording(bool $allowStartStopRecording): self
{
$this->allowStartStopRecording = $allowStartStopRecording;
return $this;
}
public function getDuration(): ?int
{
return $this->duration;
}
/**
* The maximum length (in minutes) for the meeting.
*
* Normally, the BigBlueButton server will end the meeting when either (a) the last person leaves (it takes a
* minute or two for the server to clear the meeting from memory) or when the server receives an end API request
* with the associated meetingID (everyone is kicked and the meeting is immediately cleared from memory).
*
* BigBlueButton begins tracking the length of a meeting when it is created. If duration contains a non-zero
* value, then when the length of the meeting exceeds the duration value the server will immediately end the
* meeting (equivalent to receiving an end API request at that moment).
*/
public function setDuration(int $duration): self
{
$this->duration = $duration;
return $this;
}
public function getWelcomeMessage(): ?string
{
return $this->welcomeMessage;
}
/**
* A welcome message that gets displayed on the chat window when the participant joins. You can include keywords
* (%%CONFNAME%%, %%DIALNUM%%, %%CONFNUM%%) which will be substituted automatically.
*
* This parameter overrides the default 'defaultWelcomeMessage' in 'bigbluebutton.properties'.
*/
public function setWelcomeMessage(string $welcomeMessage): self
{
$this->welcomeMessage = $welcomeMessage;
return $this;
}
public function getModeratorOnlyMessage(): ?string
{
return $this->moderatorOnlyMessage;
}
/**
* Display a message to all moderators in the public chat.
*
* The value is interpreted in the same way as the welcome parameter.
*/
public function setModeratorOnlyMessage(string $message): self
{
$this->moderatorOnlyMessage = $message;
return $this;
}
public function isWebcamsOnlyForModerator(): ?bool
{
return $this->webcamsOnlyForModerator;
}
/**
* Setting webcamsOnlyForModerator=true will cause all webcams shared by viewers during this meeting to
* only appear for moderators.
*
* since 1.1
*/
public function setWebcamsOnlyForModerator(bool $webcamsOnlyForModerator): self
{
$this->webcamsOnlyForModerator = $webcamsOnlyForModerator;
return $this;
}
public function getLogo(): ?string
{
return $this->logo;
}
/**
* Pass a URL to an image which will then be visible in the area above the participants list
* if displayBrandingArea is set to true in bbb-html5's configuration.
*/
public function setLogo(string $logo): self
{
$this->logo = $logo;
return $this;
}
public function getBannerText(): ?string
{
return $this->bannerText;
}
/**
* Will set the banner text in the client.
*
* @since 2.0
*/
public function setBannerText(string $bannerText): self
{
$this->bannerText = $bannerText;
return $this;
}
public function getBannerColor(): ?string
{
return $this->bannerColor;
}
/**
* Will set the banner background color in the client. The required format is color hex #FFFFFF.
*
* @since 2.0
*/
public function setBannerColor(string $bannerColor): self
{
$this->bannerColor = $bannerColor;
return $this;
}
/**
* @deprecated Removed in 2.5, temporarily still handled, please transition to disabledFeatures.
*/
public function isLearningDashboardEnabled(): ?bool
{
return $this->learningDashboardEnabled;
}
/**
* Default learningDashboardEnabled=true. When this option is enabled BigBlueButton generates a Dashboard
* where moderators can view a summary of the activities of the meeting.
*
* Default: true
*
* @since 2.4
* @deprecated Removed in 2.5, temporarily still handled, please transition to disabledFeatures.
*/
public function setLearningDashboardEnabled(bool $learningDashboardEnabled): self
{
$this->learningDashboardEnabled = $learningDashboardEnabled;
return $this;
}
/**
* @deprecated Removed in 2.5, temporarily still handled, please transition to disabledFeatures.
*/
public function isVirtualBackgroundsDisabled(): ?bool
{
return $this->virtualBackgroundsDisabled;
}
/**
* Setting to true will disable Virtual Backgrounds for all users in the meeting.
*
* Default: false
*
* @since 2.4.3
*
* @param mixed $virtualBackgroundsDisabled
*
* @deprecated Removed in 2.5, temporarily still handled, please transition to disabledFeatures.
*/
public function setVirtualBackgroundsDisabled($virtualBackgroundsDisabled): self
{
$this->virtualBackgroundsDisabled = $virtualBackgroundsDisabled;
return $this;
}
public function getLearningDashboardCleanupDelayInMinutes(): ?int
{
return $this->learningDashboardCleanupDelayInMinutes;
}
/**
* Default learningDashboardCleanupDelayInMinutes=2. This option set the delay (in minutes) before the Learning
* Dashboard become unavailable after the end of the meeting. If this value is zero, the Learning Dashboard will
* keep available permanently.
*
* @since 2.4
*
* Default: 2
*/
public function setLearningDashboardCleanupDelayInMinutes(int $learningDashboardCleanupDelayInMinutes): self
{
$this->learningDashboardCleanupDelayInMinutes = $learningDashboardCleanupDelayInMinutes;
return $this;
}
public function getEndWhenNoModeratorDelayInMinutes(): ?int
{
return $this->endWhenNoModeratorDelayInMinutes;
}
/**
* Defaults to the value of endWhenNoModeratorDelayInMinutes=1. If endWhenNoModerator is true, the meeting
* will be automatically ended after this many minutes.
*
* Default: 1
*
* @since in 2.2
*/
public function setEndWhenNoModeratorDelayInMinutes(int $endWhenNoModeratorDelayInMinutes): self
{
$this->endWhenNoModeratorDelayInMinutes = $endWhenNoModeratorDelayInMinutes;
return $this;
}
public function isEndWhenNoModerator(): ?bool
{
return $this->endWhenNoModerator;
}
/**
* Default endWhenNoModerator=false. If endWhenNoModerator is true the meeting will end automatically after
* a delay - see endWhenNoModeratorDelayInMinutes.
*
* Default: false
*
* @since in 2.3
*/
public function setEndWhenNoModerator(bool $endWhenNoModerator): self
{
$this->endWhenNoModerator = $endWhenNoModerator;
return $this;
}
public function isMeetingKeepEvents(): ?bool
{
return $this->meetingKeepEvents;
}
/**
* Defaults to the value of defaultKeepEvents. If meetingKeepEvents is true BigBlueButton saves meeting
* events even if the meeting is not recorded.
*
* Default: false
*
* @since in 2.3
*/
public function setMeetingKeepEvents(bool $meetingKeepEvents): self
{
$this->meetingKeepEvents = $meetingKeepEvents;
return $this;
}
public function getCopyright(): ?string
{
return $this->copyright;
}
public function setCopyright(string $copyright): self
{
$this->copyright = $copyright;
return $this;
}
public function isMuteOnStart(): ?bool
{
return $this->muteOnStart;
}
/**
* Setting true will mute all users when the meeting starts.
*
* @since 2.0
*/
public function setMuteOnStart(bool $muteOnStart): self
{
$this->muteOnStart = $muteOnStart;
return $this;
}
public function isLockSettingsDisableCam(): ?bool
{
return $this->lockSettingsDisableCam;
}
/**
* Setting true will prevent users from sharing their camera in the meeting.
*
* Default: false
*
* @since 2.2
*/
public function setLockSettingsDisableCam(bool $lockSettingsDisableCam): self
{
$this->lockSettingsDisableCam = $lockSettingsDisableCam;
return $this;
}
public function isLockSettingsDisableMic(): ?bool
{
return $this->lockSettingsDisableMic;
}
/**
* Setting to true will only allow user to join listen only.
*
* Default: false
*
* @since 2.2
*/
public function setLockSettingsDisableMic(bool $lockSettingsDisableMic): self
{
$this->lockSettingsDisableMic = $lockSettingsDisableMic;
return $this;
}
public function isLockSettingsDisablePrivateChat(): ?bool
{
return $this->lockSettingsDisablePrivateChat;
}
/**
* Setting to true will disable private chats in the meeting.
*
* Default: false
*
* @since 2.2
*/
public function setLockSettingsDisablePrivateChat(bool $lockSettingsDisablePrivateChat): self
{
$this->lockSettingsDisablePrivateChat = $lockSettingsDisablePrivateChat;
return $this;
}
public function isLockSettingsDisablePublicChat(): ?bool
{
return $this->lockSettingsDisablePublicChat;
}
/**
* Setting to true will disable public chat in the meeting.
*
* Default: false
*
* @since 2.2
*/
public function setLockSettingsDisablePublicChat(bool $lockSettingsDisablePublicChat): self
{
$this->lockSettingsDisablePublicChat = $lockSettingsDisablePublicChat;
return $this;
}
public function isLockSettingsDisableNote(): ?bool
{
return $this->lockSettingsDisableNote;
}
/**
* Setting to true will disable notes in the meeting.
*
* Default: false
*
* @since 2.2
*/
public function setLockSettingsDisableNote(bool $lockSettingsDisableNote): self
{
$this->lockSettingsDisableNote = $lockSettingsDisableNote;
return $this;
}
public function isLockSettingsHideUserList(): ?bool
{
return $this->lockSettingsHideUserList;
}
/**
* Setting to true will prevent viewers from seeing other viewers in the user list.
*
* Default: false
*
* @since 2.2
*/
public function setLockSettingsHideUserList(bool $lockSettingsHideUserList): self
{
$this->lockSettingsHideUserList = $lockSettingsHideUserList;
return $this;
}
public function isLockSettingsLockedLayout(): ?bool
{
return $this->lockSettingsLockedLayout;
}
public function setLockSettingsLockedLayout(bool $lockSettingsLockedLayout): self
{
$this->lockSettingsLockedLayout = $lockSettingsLockedLayout;
return $this;
}
public function isLockSettingsLockOnJoin(): ?bool
{
return $this->lockSettingsLockOnJoin;
}
/**
* Setting to false will not apply lock setting to users when they join.
*
* Default: true
*
* @since 2.2
*/
public function setLockSettingsLockOnJoin(bool $lockOnJoin): self
{
$this->lockSettingsLockOnJoin = $lockOnJoin;
return $this;
}
public function isLockSettingsLockOnJoinConfigurable(): ?bool
{
return $this->lockSettingsLockOnJoinConfigurable;
}
/**
* Setting to true will allow applying of lockSettingsLockOnJoin.
*
* Default: false
*/
public function setLockSettingsLockOnJoinConfigurable(bool $lockOnJoinConfigurable): self
{
$this->lockSettingsLockOnJoinConfigurable = $lockOnJoinConfigurable;
return $this;
}
public function isLockSettingsHideViewersCursor(): ?bool
{
return $this->lockSettingsHideViewersCursor;
}
/**
* Setting to true will prevent viewers to see other viewers cursor when multi-user whiteboard is on.
*
* Default: false
*
* @since 2.5
*/
public function setLockSettingsHideViewersCursor(bool $lockSettingsHideViewersCursor): self
{
$this->lockSettingsHideViewersCursor = $lockSettingsHideViewersCursor;
return $this;
}
public function isAllowModsToUnmuteUsers(): ?bool
{
return $this->allowModsToUnmuteUsers;
}
/**
* Setting to true will allow moderators to unmute other users in the meeting.
*
* Default: false
*
* @since 2.2
*/
public function setAllowModsToUnmuteUsers(bool $allowModsToUnmuteUsers): self
{
$this->allowModsToUnmuteUsers = $allowModsToUnmuteUsers;
return $this;
}
public function isAllowModsToEjectCameras(): ?bool
{
return $this->allowModsToEjectCameras;
}
/**
* Setting to true will allow moderators to close other users cameras in the meeting.
*
* Default: false
*
* @since 2.4
*/
public function setAllowModsToEjectCameras(bool $allowModsToEjectCameras): self
{
$this->allowModsToEjectCameras = $allowModsToEjectCameras;
return $this;
}
/**
* @param mixed $endCallbackUrl
*/
public function setEndCallbackUrl($endCallbackUrl): self
{
$this->addMeta('endCallbackUrl', $endCallbackUrl);
return $this;
}
/**
* @param mixed $recordingReadyCallbackUrl
*/
public function setRecordingReadyCallbackUrl($recordingReadyCallbackUrl): self
{
$this->addMeta('bbb-recording-ready-url', $recordingReadyCallbackUrl);
return $this;
}
public function isBreakout(): ?bool
{
return $this->isBreakout;
}
/**
* Must be set to true to create a breakout room.
*/
public function setBreakout(bool $isBreakout): self
{
$this->isBreakout = $isBreakout;
return $this;
}
public function getParentMeetingId(): ?string
{
return $this->parentMeetingId;
}
/**
* Must be provided when creating a breakout room, the parent room must be running.
*/
public function setParentMeetingId(string $parentMeetingId): self
{
$this->parentMeetingId = $parentMeetingId;
return $this;
}
public function getSequence(): ?int
{
return $this->sequence;
}
/**
* The sequence number of the breakout room.
*/
public function setSequence(int $sequence): self
{
$this->sequence = $sequence;
return $this;
}
public function isFreeJoin(): ?bool
{
return $this->freeJoin;
}
/**