Occurs when the closed captions state is changed, refer to ClosedCaptionsState
Occurs when the closed captions data is changed, refer to ClosedCaptionsData
Returns the current state of the closed captions in the meetings.
ClosedCaptionsState: UNACTIVATED, STARTED, STOPPED
Indicates the closed captions whether allowed to start.
True means closed captions allowed or otherwise
Removes the specified listener from the listener array for the event named eventName.
Adds a one-time listener function for the event named eventName. The next time eventName is triggered, this listener is removed and then invoked.
Start the closed captions and creates the data channel in an active meeting.
0 means the action succeeds or fails otherwise
Stops the closed captions and deletes the data channel in an active meeting.
0 means the API call is valid or fails otherwise
The ClosedCaptionsController class is a managing class to control the closed captions related functions and states in an active meeting session, such as start closed captions or stop closed captions.