What classroom states does Flexible Classroom support?
Flexible Classroom supports three classroom states: not started, started, and ended. Refer to the following table for a detailed description of each state:
Classroom state | Description |
---|---|
Not started | When the classroom state is not started or started, both teachers and students can do the following: |
Started | |
Ended | Teachers and students are immediately disconnected from the classroom. Real-time audio and video interaction, real-time messaging, and whiteboard
functions are all disabled. An ended classroom cannot be restarted. |
Change the classroom state
In the Flexible Classroom client, you can specify the starting time and duration of a classroom by calling launch
to set the following parameters:
startTime
: The starting time of the class in Unix format (ms), subject to the parameter passed in by the first user who joins the classroom.duration
: The duration (s) of the class, subject to the parameter passed in by the first user who joins the classroom.
The state of the classroom is automatically started at the specified start time and automatically ended after the specified duration elapses.
In addition, you can change the classroom state by calling the RESTful API.