Feature Introduction
TUIRoomKit supports the floating window feature, allowing users to create a freely draggable floating window for displaying and managing the TUIRoomKit video conferencing interface. This makes it easier for users to handle other tasks while participating in a video conference.
Use Instructions
1. During the meeting, click on the More > Floating button in the bottom toolbar to enable the floating window.
2. When enabling the "Floating Window" feature for the first time, Android devices will be redirected to the relevant system settings page. You need to enable the appropriate permissions for the app, such as Floating Window, Background Pop-up Interface, Allow display over other Apps etc. The names of the relevant system settings may vary slightly between different device models.
3. After enabling the relevant system permissions, Android devices support both in-app and out-of-app floating windows, while iOS devices only support in-app floating windows.
4. In the floating window state, click on the floating window to return to the conference.
Key code
You can enable/disable the Floating Window feature using the following methods, refer to different platforms:
private List<BottomItemData> createItemList() {
List<BottomItemData> itemDataList = new ArrayList<>();
addUserListItemIfNeeded(itemDataList);
addMicItemIfNeeded(itemDataList);
addCameraItemIfNeeded(itemDataList);
addRaiseHandItemIfNeeded(itemDataList);
addApplyListItemIfNeeded(itemDataList);
addScreenItemIfNeeded(itemDataList);
addChatItemIfNeeded(itemDataList);
addInviteItemIfNeeded(itemDataList);
addSettingsItemIfNeeded(itemDataList);
return itemDataList;
}
Note:
If you have any requirements or feedback, you can contact: info_rtc@tencent.com.
Was this page helpful?