How to leave a flexible classroom?
In Flexible Classroom, the teacher can click Leave Classroom to temporarily exit the session without changing the room status. To officially end the class, follow these steps:
-
The teacher calls the
leaveClassroom
method to exit the classroom:The
ClassState
reflects the following states: -
To actively end the room, call the room status update interface
RoomStore:updateClassState
: -
To end the course without direct interaction, call Flexible Classroom backend RESTful interface Set Classroom Status. Set the class status to one of the following values:
0
: Not started1
: In progress2
: Ended. The class time has elapsed, but users can join and remain during the extended time.3
: Closed. The class is closed after the extended time, and all users are removed and cannot rejoin.