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
sharedInstanceGet ZegoSuperBoardManager instance object
initWithConfig:config:complete:Initialize the ZegoSuperBoard SDK
enableSuperBoardView:enable:Set whether to use SuperBoardView
unInitUninitialize the SDK
getSDKVersionObtain the SDK version number

ZegoSuperBoardManager create, destroy, switch function

MethodDescription
setManagerListener:listener:set callback for SDK
createWhiteboardView:config:complete:Creating a pure whiteboard
createFileView:config:complete:Create a file
destroySuperBoardSubView:uniqueID:complete:Destroys the specified SuperBoardSubView view
querySuperBoardSubViewList:complete:Query the server for the list of SuperBoardSubView that currently exists
getSuperBoardSubView:uniqueID:Gets the specified SuperBoardSubView

ZegoSuperBoardSubView Manipulation (paging, scrolling and others)

MethodDescription
flipToPage:targetPage:complete:Jump to the specified page
flipToPrePage:complete:Jump to the previous page
flipToNextPage:complete:Jump to the next page
preStep:complete:Jump to the previous step animation
nextStep:complete:Jump to the next step animation
MethodDescription
addTextEditWithComplete:complete:Add text to the whiteboard View, and an input box will pop up from the bottom of the whiteboard after calling.
addText:text:positionX:positionY:complete:Add custom text to the whiteboard
undoUndo the last operation of the whiteboard
redoRestore the undone operation on the whiteboard
clearCurrentPage:complete:Clear the primitives on the current page of the whiteboard
clearAllPage:complete:Clear the primitives on all page of the whiteboard
addImage
:address:positionX:positionY:complete:
Insert picture to whiteboard
clearSelected:complete:Delete the selected element
setBackgroundImageWithPath:imagePath:mode:complete:Set the background image to the whiteboard
clearBackgroundImageWithComplete:complete:Clear the background image of the whiteboard
setCustomFontWithName:regularFontName:boldFontName:Set custom new font

ZegoSuperBoardManager File upload transcoding and caching

MethodDescription
uploadFile:filePath:renderType:completionBlock:Upload files to the ZegoSuperBoard service
cancelUploadFileWithSeq:seq:completionBlock:Cancel the upload action during file upload
cacheFileWithFileID:fileID:completionBlock:Cache files to local storage
cancelCacheFileWithSeq:seq:completionBlock:Cancel the cache action in the process of caching files
queryFileCachedWithFileID:fileID:completionBlock:Check if the file cache exists
uploadH5File:filePath:config:completionBlock:Upload custom H5 courseware

ZegoSuperBoardSubView Function to obtain information about files

MethodDescription
getThumbnailUrlListGet the current file thumbnail list, only supports PDF, PPT, dynamic PPT, H5 file format
getPPTNotes:page:Get 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
setOperationMode:mode:Set the operating mode of the current whiteboard
setWhiteboardBackgroundColor:color:Set the whiteboard background color in the container
MethodDescription
switchExcelSheet:sheetIndex:complete:Switch the excel file to the specified sheet page
switchSuperBoardSubView:uniqueID:complete:Switch to the specified SuperBoardSubView
switcSuperBoardSubView:uniqueID:sheetIndex:complete:Toggles the specified SuperBoardSubView to the specified sheet

ZegoSuperBoardManager personalized Settings

MethodDescription
setCustomizedConfig:value:key:Setting 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.
getCustomizedConfig:key:Get the value of the set configuration item

Previous

Error Codes

Next

Class