Service to handle the end of a meeting, including showing an alert and redirecting the user.
Name
MeetingEnded
Description
This service provides a method to display a notification when a meeting ends and redirects the user to a specified URL or handles other post-meeting actions.
Method
meetingEnded
Param: options
Options for handling the meeting end:
showAlert {Function}: Optional function to display an alert message.
redirectURL {string}: URL to redirect to after the meeting ends.
onWeb {boolean}: Specifies if the application is running on the web.
eventType {string}: Specifies the type of event ending the meeting.
Returns
Completes meeting end handling by displaying an alert and performing a redirect.
Example
constoptions = { showAlert: (options) =>console.log(options.message), redirectURL:'https://example.com/home', onWeb:true, eventType:'webinar', }; meetingEndedService.meetingEnded(options); // Displays alert and redirects to specified URL
Service to handle the end of a meeting, including showing an alert and redirecting the user.
Name
MeetingEnded
Description
This service provides a method to display a notification when a meeting ends and redirects the user to a specified URL or handles other post-meeting actions.
Method
meetingEnded
Param: options
Options for handling the meeting end:
showAlert
{Function}: Optional function to display an alert message.redirectURL
{string}: URL to redirect to after the meeting ends.onWeb
{boolean}: Specifies if the application is running on the web.eventType
{string}: Specifies the type of event ending the meeting.Returns
Completes meeting end handling by displaying an alert and performing a redirect.
Example