Get the whiteboard list
This document describes how to obtain the list of whiteboards that are being shared in a room.
Prerequisites
Creat a whiteboard by referring to Create a super board.
Implementation process
- If you enter a room for the first time, you can proactively fetch the list of whiteboards created in the room.
ZegoSuperBoardManager.getInstance().querySuperBoardSubViewList().then(function(zegoSuperBoardSubViewModelList){
// After ZegoSuperBoardSubViewModel is obtained, update the whiteboard list on the page.
// For example, update them to the UI list.
})- If you are already in a room, you will need to obtain the list of all whiteboards.
ZegoSuperBoardManager.getInstance().querySuperBoardSubViewList().then(function(zegoSuperBoardSubViewModelList){
// After ZegoSuperBoardSubViewModel is obtained, update the whiteboard list on the page.
// Process the corresponding service logic.
})
