Get whiteboard list
This document describes how to obtain the list of whiteboards that are being shared in a room.
Prerequisites
Create a whiteboard by referring to Create a super board.
Implementation steps
In the following scenarios, you can call querySuperBoardSubViewList to retrieve the list of whiteboards:
- If you enter a room for the first time, you can proactively fetch the list of whiteboards created in the room.
- If you are already in a room, you will need to obtain the list of all whiteboards.
ZegoSuperBoardManager.getInstance().querySuperBoardSubViewList().then(function(zegoSuperBoardSubViewModelList){
// After obtaining the ZegoSuperBoardSubViewModel, you can perform updates on the interface.
// For example, you can populate it into a UI list or handle corresponding business logic ...
})
