What are the classroom states of Flexible Classroom?
Flexible Classroom has the following classroom states:
State | state value | Example |
---|---|---|
Not started | 0 | Before the start time of the class. Both teachers and students can do the following:
|
Started | 1 | After the start time of the class and within its duration. Both teachers and students can do the following:
|
Ended | 2 | The class duration has been exceeded, but it's still within its end delay time. Teachers and students can still enter and leave the classroom, as well as using the other functions normally. |
Closed | 3 | The class duration and end delay time have been exceeded. Teachers and students are kicked out of the classroom and cannot rejoin. Audio, video, instant messaging, and whiteboard services are disconnected. Once a classroom is closed, it cannot be restarted and is destroyed 1 hour later. |
Classroom state change
Classroom states change according to the following parameters set when calling the launch
method in the Flexible Classroom client:
startTime
: The class start time in milliseconds, subject to the parameter passed in by the first user who enters the class.duration
: The class duration in seconds, subject to the parameter passed in by the first user who enters the class.closeDelay
: Delay time in seconds, subject to the parameter passed in when creating the classroom, defaults to 10 minutes.
The class automatically starts at the specified start time and ends after its duration and end delay times are exceeded. Teachers can also start and end classes manually.
You can also switch the class state with RESTful API.