IFCRGroupHandler

The IFCRGroupHandler class contains event callbacks related to sub-room management.

onGroupInfoUpdated

Occurs when the grouping information updates.

override fun onGroupInfoUpdated(groupInfo: FCREduContextGroupInfo)

Parameter

groupInfo
The object of the grouping information: FCREduContextGroupInfo.

onSubRoomListAdded

Indicates that sub-rooms are created.

override fun onSubRoomListAdded(subRoomList: MutableList<AgoraEduContextSubRoomInfo>)

Parameter

subRoomList
The list of sub-room information: AgoraEduContextSubRoomInfo.

onSubRoomListUpdated

Occurs when the information of sub-rooms updates.

override fun onSubRoomListUpdated(subRoomList: List<AgoraEduContextSubRoomInfo>)

Parameter

subRoomList
The list of sub-room information: AgoraEduContextSubRoomInfo.

onUserListInvitedToSubRoom

Occurs when the user receives an invitation to join a sub-room.

override fun onUserListInvitedToSubRoom(all: MutableList<FCRGroupInfo>, current: FCRGroupInfo?)

Parameter

userList
A list of user IDs.
subRoomUuid
The sub-room ID.
operator
The operator, which can be empty.

onUserListAddedToSubRoom

Occurs when users are added to a sub-room.

override fun onUserListAddedToSubRoom(subRoomList: List<String>, subRoomUuid: String, user: EduBaseUserInfo?)

Parameter

userList
A list of user IDs.
subRoomUuid
The sub-room ID.
operator
The operator, which can be empty.

onUserMovedToSubRoom

Occurs when a user is moved from one sub-room to another.

override fun onUserMovedToSubRoom(
        userUuid: String,
        fromSubRoomUuid: String,
        toSubRoomUuid: String,
        operator: EduBaseUserInfo?
)

Parameter

userList
A list of user IDs.
fromSubRoomUuid
The source sub-room ID.
toSubRoomUuid
The target sub-room ID.
operator
The operator, which can be empty.

onUserListRemovedFromSubRoom

Occurs when users are removed from a sub-room.

override fun onUserListRemovedFromSubRoom(
        userList: List<AgoraEduContextSubRoomRemovedUserEvent>,
        subRoomUuid: String?,
        operator: EduBaseUserInfo?
)

Parameter

userList
A list of user IDs.
subRoomUuid
The sub-room ID.