logo
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
getInstanceGet ZegoSuperBoardManager instance object
initInitialize the ZegoSuperBoard SDK
enableSuperBoardViewSet whether to use SuperBoardView
unInitUninitialize the SDK
getSDKVersionObtain the SDK version number

ZegoSuperBoardManager create, destroy, switch function

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

ZegoSuperBoardSubView Manipulation (paging, scrolling and others)

MethodDescription
getModelGet 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
getCurrentPageGet the page number of the currently displayed content
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
setSizeChangedListenerSet up monitoring after SubView size changes
setScrollChangedListenerSet up monitoring of SubView scrolling process
getCurrentSuperBoardSubViewGet the current display superBoardSubView
MethodDescription
isEnableResponseScaleGet whether it will respond to the zoom factor synchronized by other users
isEnableSyncScaleGet whether the current zoom factor will be synchronized to others
setCustomFontFromAssetSet custom font source file path
inputTextAdd text to the whiteboard View, and an input box will pop up from the bottom of the whiteboard after calling.
addTextAdd custom text to the whiteboard
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
switchExcelSheetSwitch 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
getCustomTextGet the default value of the text teaching aid
setCustomTextDefault text for custom text teaching aids
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
isHandwritingEnabledGet 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