What is the lifecycle of Super Board?
2024-10-22
Products / Plugins:Super Board
Platform / Framework:All
Problem Description
What are the complete lifecycle stages of Super Board? What are they respectively?
Solution
The lifecycle of Super Board is roughly divided into three stages:
Create whiteboard -> Whiteboard is active (can perform graffiti, data synchronization, etc.) -> Whiteboard is destroyed.
The specific lifecycle introduction is as follows:
- Create whiteboard: Call the createWhiteboardView or createFileView interface of the ZegoSuperBoardManager class to create a whiteboard.
- Whiteboard is active...
- Actively destroy whiteboard: Call the destroySuperBoardSubView method of the ZegoSuperBoardManager class to remove the whiteboard.
- When all people in the room leave, the whiteboard will be destroyed by default. If you need to keep the whiteboard, please contact ZEGOCLOUD Technical Support.
Prerequisites for normal whiteboard operation:
- Initialize ZegoExpress SDK and ZegoSuperBoard SDK.
- Use the loginRoom interface of ZegoExpress to log in to the room.

