1818 */
1919namespace BigBlueButton \Parameters ;
2020
21+ use BigBlueButton \Core \GuestPolicy ;
22+ use BigBlueButton \Core \MeetingLayout ;
23+
2124/**
2225 * @method string getName()
2326 * @method $this setName(string $name)
3336 * @method $this setDialNumber(string $dialNumber)
3437 * @method string getVoiceBridge()
3538 * @method $this setVoiceBridge(string $voiceBridge)
39+ * @method string getWebVoice()
40+ * @method $this setWebVoice(string $webVoice)
3641 * @method int getMaxParticipants()
3742 * @method $this setMaxParticipants(int $maxParticipants)
3843 * @method string getLogoutURL()
101106 * @method $this setEndWhenNoModeratorDelayInMinutes(int $endWhenNoModeratorDelayInMinutes)
102107 * @method string getMeetingLayout()
103108 * @method $this setMeetingLayout(string $meetingLayout)
109+ * @method string getMeetingEndedURL()
110+ * @method $this setMeetingEndedURL(string $meetingEndedURL)
104111 * @method bool|null isLearningDashboardEnabled()
105112 * @method $this setLearningDashboardEnabled(bool $isLearningDashboardEnabled)
106113 * @method int getLearningDashboardCleanupDelayInMinutes()
117124 */
118125class CreateMeetingParameters extends MetaParameters
119126{
120- public const ALWAYS_ACCEPT = 'ALWAYS_ACCEPT ' ;
121- public const ALWAYS_DENY = 'ALWAYS_DENY ' ;
122- public const ASK_MODERATOR = 'ASK_MODERATOR ' ;
123- public const ALWAYS_ACCEPT_AUTH = 'ALWAYS_ACCEPT_AUTH ' ;
127+ /**
128+ * @deprecated Use GuestPolicy::ALWAYS_ACCEPT instead.
129+ */
130+ public const ALWAYS_ACCEPT = GuestPolicy::ALWAYS_ACCEPT ;
131+ /**
132+ * @deprecated Use GuestPolicy::ALWAYS_DENY instead.
133+ */
134+ public const ALWAYS_DENY = GuestPolicy::ALWAYS_DENY ;
135+ /**
136+ * @deprecated Use GuestPolicy::ASK_MODERATOR instead.
137+ */
138+ public const ASK_MODERATOR = GuestPolicy::ASK_MODERATOR ;
139+ /**
140+ * @deprecated Use GuestPolicy::ALWAYS_ACCEPT_AUTH instead.
141+ */
142+ public const ALWAYS_ACCEPT_AUTH = GuestPolicy::ALWAYS_ACCEPT_AUTH ;
124143
125- const CUSTOM_LAYOUT = 'CUSTOM_LAYOUT ' ;
126- const SMART_LAYOUT = 'SMART_LAYOUT ' ;
127- const PRESENTATION_FOCUS = 'PRESENTATION_FOCUS ' ;
128- const VIDEO_FOCUS = 'VIDEO_FOCUS ' ;
144+ /**
145+ * @deprecated Use MeetingLayout::CUSTOM_LAYOUT instead.
146+ */
147+ public const CUSTOM_LAYOUT = MeetingLayout::CUSTOM_LAYOUT ;
148+ /**
149+ * @deprecated Use MeetingLayout::SMART_LAYOUT instead.
150+ */
151+ public const SMART_LAYOUT = MeetingLayout::SMART_LAYOUT ;
152+ /**
153+ * @deprecated Use MeetingLayout::PRESENTATION_FOCUS instead.
154+ */
155+ public const PRESENTATION_FOCUS = MeetingLayout::PRESENTATION_FOCUS ;
156+ /**
157+ * @deprecated Use MeetingLayout::VIDEO_FOCUS instead.
158+ */
159+ public const VIDEO_FOCUS = MeetingLayout::VIDEO_FOCUS ;
129160
130161 /**
131162 * @var string
@@ -162,6 +193,11 @@ class CreateMeetingParameters extends MetaParameters
162193 */
163194 protected $ voiceBridge ;
164195
196+ /**
197+ * @var string
198+ */
199+ protected $ webVoice ;
200+
165201 /**
166202 * @var int
167203 */
@@ -315,7 +351,7 @@ class CreateMeetingParameters extends MetaParameters
315351 /**
316352 * @var string
317353 */
318- protected $ guestPolicy = self ::ALWAYS_ACCEPT ;
354+ protected $ guestPolicy = GuestPolicy ::ALWAYS_ACCEPT ;
319355
320356 /**
321357 * @var bool
@@ -337,6 +373,11 @@ class CreateMeetingParameters extends MetaParameters
337373 */
338374 protected $ meetingLayout ;
339375
376+ /**
377+ * @var string
378+ */
379+ protected $ meetingEndedURL ;
380+
340381 /**
341382 * @var bool
342383 */
@@ -439,15 +480,15 @@ public function disableUserCameraCap(): self
439480 */
440481 public function isGuestPolicyAlwaysDeny ()
441482 {
442- return $ this ->guestPolicy === self ::ALWAYS_DENY ;
483+ return $ this ->guestPolicy === GuestPolicy ::ALWAYS_DENY ;
443484 }
444485
445486 /**
446487 * @return CreateMeetingParameters
447488 */
448489 public function setGuestPolicyAlwaysDeny ()
449490 {
450- $ this ->guestPolicy = self ::ALWAYS_DENY ;
491+ $ this ->guestPolicy = GuestPolicy ::ALWAYS_DENY ;
451492
452493 return $ this ;
453494 }
@@ -457,7 +498,7 @@ public function setGuestPolicyAlwaysDeny()
457498 */
458499 public function isGuestPolicyAskModerator ()
459500 {
460- return $ this ->guestPolicy === self ::ASK_MODERATOR ;
501+ return $ this ->guestPolicy === GuestPolicy ::ASK_MODERATOR ;
461502 }
462503
463504 /**
@@ -466,7 +507,7 @@ public function isGuestPolicyAskModerator()
466507 */
467508 public function setGuestPolicyAskModerator ()
468509 {
469- $ this ->guestPolicy = self ::ASK_MODERATOR ;
510+ $ this ->guestPolicy = GuestPolicy ::ASK_MODERATOR ;
470511
471512 return $ this ;
472513 }
@@ -476,7 +517,7 @@ public function setGuestPolicyAskModerator()
476517 */
477518 public function isGuestPolicyAlwaysAcceptAuth ()
478519 {
479- return $ this ->guestPolicy === self ::ALWAYS_ACCEPT_AUTH ;
520+ return $ this ->guestPolicy === GuestPolicy ::ALWAYS_ACCEPT_AUTH ;
480521 }
481522
482523 /**
@@ -485,7 +526,7 @@ public function isGuestPolicyAlwaysAcceptAuth()
485526 */
486527 public function setGuestPolicyAlwaysAcceptAuth ()
487528 {
488- $ this ->guestPolicy = self ::ALWAYS_ACCEPT_AUTH ;
529+ $ this ->guestPolicy = GuestPolicy ::ALWAYS_ACCEPT_AUTH ;
489530
490531 return $ this ;
491532 }
0 commit comments