Options
All
  • Public
  • Public/Protected
  • All
Menu

The MeetingController class is the main class for managing in-meeting actions, the application can use it to lock or leave/end the meeting and obtains sub-controllers to do more in-meeting actions.

Hierarchy

  • MeetingEventEmitter
    • MeetingController

Index

Constructors

Events

Methods

  • Enables the end-to-end encryption in the meeting dynamically.

    description

    A successful call of enableEndToEndEncryption triggers the MeetingEvent.MEETING_ENCRYPTION_STATE_CHANGED event callback for all meeting users.

    Returns Promise<ErrorCodeType>

    0 means the action succeeds or fails otherwise

  • Ends the current meeting.

    description

    A successful call of endMeeting triggers the EngineEvent.MEETING_LEFT event callback for all meeting users.

    description

    Only the meeting host or moderator has permission to invoke this method.

    Returns Promise<ErrorCodeType>

    0 means the action succeeds or fails otherwise

  • Get the current EndToEnd Encryption state.

    Returns E2EEState

    E2EEState

  • Gets the current active meeting details.

    Returns Promise<IMeetingInfo>

    The meeting information object or error code 10000

  • isMeetingLocked(): boolean
  • Indicates whether the meeting is locked.

    Returns boolean

    True means the meeting is locked or otherwise

  • Leaves the current meeting.

    description

    A successful call of leaveMeeting triggers the {@link RcvEngine.on(EngineEvent.MEETING_LEFT)} event callback.

    Returns Promise<ErrorCodeType>

    0 means the action succeeds or fails otherwise

  • Leaves the current meeting via beacon.

    description

    A successful call of leaveMeetingViaBeacon triggers the {@link RcvEngine.on(EngineEvent.MEETING_LEFT)} event callback.

    Returns Promise<ErrorCodeType>

    0 means the action succeeds or fails otherwise

  • Locks meetings.

    descriptiona

    successful call of lockMeeting triggers the MeetingEvent.MEETING_LOCK_STATE_CHANGED event callback to all meeting participants.

    description

    Only the meeting host or moderator has permission to invoke this method.

    Returns Promise<ErrorCodeType>

    0 means the action succeeds or fails otherwise

  • Removes the specified listener from the listener array for the event named eventName.

    Parameters

    Returns void

  • Adds a one-time listener function for the event named eventName. The next time eventName is triggered, this listener is removed and then invoked.

    Parameters

    Returns void

  • Unlocks meetings.

    descriptiona

    successful call of unlockMeeting triggers the MeetingEvent.MEETING_LOCK_STATE_CHANGED event callback to all meeting participants.

    description

    Only the meeting host or moderator has permission to invoke this method.

    Returns Promise<ErrorCodeType>

    0 means the action succeeds or fails otherwise