HandsUpContext
enables developers to implement the hand-raising function in the flexible classroom.
teacherUuid: string,
The ID of the teacher.
handsUpState: string,
The student's hand state.
teacherHandsUpState: string,
The teacher's hand state.
async studentHandsUp(teacherUuid: string): void
The student raises a hand to apply for speaking up.
Parameter | Description |
---|---|
teacherUuid |
The ID of the teacher. |
async studentCancelHandsUp(): void
The student lowers the hand to cancel the application for speaking up.
handsUpStudentList: array<{userUuid, userName, coVideo}>,
The list of students who raise their hand to apply for speaking up.
coVideoUsers: array,
The list of users who are sending video streams.
onlineUserCount: number,
The total number of online users, excluding users whose role is the audience.
processUserCount: number,
The total number of users who are sending video streams.
async teacherAcceptHandsUp(userUuid: string): void
The teacher accepts the student's application for speaking up.
Parameter | Description |
---|---|
userUuid |
The student ID. |
async teacherRejectHandsUp(userUuid: string): void
The teacher approves the student's application for speaking up.
Parameter | Description |
---|---|
userUuid |
The student ID. |