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
clearLogUpload and clear the local cache log
getInstanceGet ZegoSuperBoardManager instance object
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
createPreviewFileViewCreate a view for previewing the specified file
destroyAllSuperBoardSubViewDestroy all SuperBoardSubViews
getCurrentPreviewGet the currently previewed file.
getPreviewListGet the list of preview views.
switchPreviewSwitch the currently previewed file
createWhiteboardViewCreating a pure whiteboard
createFileViewCreate document whiteboard
destroySuperBoardSubViewDestroys the specified SuperBoardSubView view
querySuperBoardSubViewListQuery the server for the list of SuperBoardSubView that currently exists
getSuperBoardSubViewGets the specified SuperBoardSubView
attachSuperBoardSubViewAdd SuperBoardSubView to the view

ZegoSuperBoardSubView Manipulation (paging, scrolling and others)

MethodDescription
getCurrentStepAnimation steps to get the current page number of the dynamic PPT, starting from 1
setScaleFactorZoom superBoardSubView
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
getCurrentSuperBoardSubViewGet the current display superBoardSubView
MethodDescription
clearSelectedDelete the selected element
reloadViewReload SubView
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
cacheFileRequest file resources in advance
cancelCacheFileCancel the cache action in the process of caching files
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
snapshotGet a snapshot of the current whiteboard
stopPlayPPTVideoStop the video being played on the current dynamic ppt page
MethodDescription
clearCacheClear cache resources related to files and whiteboards

ZegoSuperBoardSubView Operation permission

MethodDescription
setOperationModeSet the operating mode of the current whiteboard

ZegoSuperBoardSubView Personalized Settings

MethodDescription
playMediaPlay dynamic presentation files, audio and video
switchSpeakerA dynamic presentation file specifies a speaker device
MethodDescription
getSuperBoardViewGet SuperBoardView object
switchSuperBoardSubViewSwitch to the specified SuperBoardSubView

ZegoSuperBoardManager personalized Settings

MethodDescription
enableCustomCursor
enableRemoteCursorVisibleSet whether to enable the display of remote custom cursor
getWhiteboardBackgroundColor
setCustomCursorAttributeCustomize the local custom cursor
setCustomizedConfigSet configuration items
getCustomizedConfigGet the value of the set configuration item
setWhiteboardBackgroundColorSet the background color of the whiteboard
setDeferredRenderingTimeSet the delay rendering time of the local SubView
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
getScaleFactorGet the zoom information of the current superBoardSubView
MethodDescription
flipPageJump to the specified step of the specified slide in the dynamic PPT
getContentSizeGet the width and height of the document content.
getCurrentPageGet the page number of the currently displayed file.
getFileIDGet the file ID
getFileTypeGet the file type.
getPPTNotesGet the remarks on the specified page of the PPT.
getThumbnailUrlListGet the thumbnail list of the current file. Only PDF, PPT, and dynamic PPT file formats are supported.
getVerticalPercentGet the percentage of the current vertical offset (vertical scroll bar)
getVisibleSizeGet the width and height of the visible area of the current file.
loadFileLoad and render the file.
nextStepThe next step of the dynamic PPT.
onLoadFileCallBackLoad previewfile callback
playAnimationPlay the animations of the dynamic PPT. Play the animations of the dynamic PPT.
previousStepThe previous step of the dynamic PPT.
reloadViewReload the file View
scrollToJump to a specific position in the file by percentage.
setScaleFactorZoom the current preview view.
stopPlayStop the audio and video playback on a certain page of the local dynamic PPT file.
switchSheetSwitch the Excel file to the specified sheet.
unloadFileUnload the file from the view.
ZegoSuperBoardPreviewFileTypePreview file types

Previous

Error Codes

Next

Class