Service to handle the end of a meeting, including showing an alert and redirecting the user.

MeetingEnded

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.

meetingEnded

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.

Completes meeting end handling by displaying an alert and performing a redirect.

const options = {
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

Constructors

Methods

Constructors

Methods