logo
Super Board
On this page

Function Overview

2026-01-23

ZEGOCLOUD Super Board provides a complete set of multi-person real-time interactive whiteboard services for you to quickly build in whiteboard capabilities into your applications.

SDK Initialization

MethodDescription
clearLogUpload and clear the local cache log
getInstanceGet ZegoSuperBoardManager instance object
setContainerViewWhiteboard area where files need to be mounted
setLogConfigLog advanced configuration
initInitialize the ZegoSuperBoard SDK
enableSuperBoardViewSet whether to use SuperBoardView
unInitUninitialize the SDK
getSDKVersionObtain the SDK version number
onRegister to listen for events
offDelete listening event

ZegoSuperBoardManager create, destroy, switch function

MethodDescription
getSuperBoardSubViewModelListGet the information of superBoardSubView saved by the SDK
createWhiteboardViewCreating a pure whiteboard
createFileViewCreate a file
destroySuperBoardSubViewDestroys the specified SuperBoardSubView view
querySuperBoardSubViewListQuery the server for the list of SuperBoardSubView that currently exists

ZegoSuperBoardSubView Manipulation (paging, scrolling and others)

MethodDescription
getCurrentStepAnimation steps to get the current page number of the dynamic PPT, starting from 1
getCurrentSuperBoardSubViewModelGet the model data corresponding to the whiteboard
flipToPageJump to the specified page
flipToPrePageJump to the previous page
flipToNextPageJump to the next page
preStepJump to the previous step animation
nextStepJump to the next step animation
getPageCountGet the total number of pages
getVisibleSizeGet the size of the visible area of the file
getCurrentSheetNameGet the name of the currently displayed sheet
getCurrentSuperBoardSubViewGet the current display superBoardSubView
MethodDescription
isEnabledResponseScaleGet whether it will respond to the zoom factor synchronized by other users
isEnabledSyncScaleGet whether the current zoom factor will be synchronized to others
setCustomFontFromAssetSet custom new font
clearSelectedDelete the selected element
reloadViewReload SubView
inputTextAdd text to the whiteboard View, and an input box will pop up from the bottom of the whiteboard after calling.
undoUndo the last operation of the whiteboard
redoRestore the undone operation on the whiteboard
clearCurrentPageClear the primitives on the current page of the whiteboard
clearAllPageClear the primitives on all page of the whiteboard
addImageInsert picture to whiteboard
clearSelectedDelete the selected element
setBackgroundImageSet the background image to the whiteboard
clearBackgroundImageClear the background image of the whiteboard

ZegoSuperBoardManager File upload transcoding and caching

MethodDescription
uploadFileUpload files to the ZegoSuperBoard service
cancelUploadFileCancel the upload action during file upload
cacheFileCache files to local storage
cancelCacheFileCancel the cache action in the process of caching files
queryFileCachedCheck if the file cache exists
uploadH5FileUpload custom H5 courseware

ZegoSuperBoardSubView Function to obtain information about files

MethodDescription
getExcelSheetNameListGet the list of Excel sheet names
getThumbnailUrlListGet the current file thumbnail list, only supports PDF, PPT, dynamic PPT, H5 file format
getPPTNotesGet the notes of the specified page number of the PPT

ZegoSuperBoardSubView Element operation within file

MethodDescription
stopPlayPPTVideoStop the video being played on the current dynamic ppt page
MethodDescription
clearCacheClear cache resources related to files and whiteboards
clearEmpty resources in the room called upon checkout

ZegoSuperBoardSubView Operation permission

MethodDescription
setOperationModeSet the operating mode of the current whiteboard

ZegoSuperBoardSubView Personalized Settings

MethodDescription
setWhiteboardBackgroundColorSet the background color of the whiteboard
MethodDescription
getSuperBoardViewGet SuperBoardView object
switchSuperBoardSubViewWithSheetIndexSwitch the excel file to the specified sheet page
switchSuperBoardSubViewSwitch to the specified SuperBoardSubView

ZegoSuperBoardManager personalized Settings

MethodDescription
enableCustomCursor
enableRemoteCursorVisibleSet whether to enable the display of remote custom cursor
setCustomCursorAttributeCustomize the local custom cursor
setCustomizedConfigSetting initialization parameters is optional
For example:
The key value is logPath, which is the directory where the SDK records logs.
The key value is cachePath, the address of the directory cached by the SDK.
getCustomizedConfigGet the value of the set configuration item
enableSyncScaleSet whether to synchronize the zoom to other members in the room
enableResponseScaleWhether to respond to the zoom of other members in the room
enableHandwritingSet whether to open the pen sharp
isEnabledHandwritingGet whether to turn on the stroke effect
setToolTypeSet the whiteboard tool type
getToolTypeGet the type of whiteboard tool being used.
setFontBoldSet text bold
isFontBoldGet whether the text is bold
setFontItalicSet whether the text of the text tool is italicized.
isFontItalicGet whether the text is italic effect
setFontSizeSet text size
getFontSizeGet text size
setBrushSizeSet the brush thickness
getBrushSizeGet brush thickness
setBrushColorSet pen color
getBrushColorGet the brush color

Previous

Error Codes

Next

Class