Video SDK for iOS API Reference
Loading...
Searching...
No Matches
ZoomVideoSDKWhiteboardHelper Class Reference

The whiteboard helper interface. More...

#include <ZoomVideoSDKWhiteboardHelper.h>

Inherits NSObject.

Instance Methods

(ZoomVideoSDKError- subscribeWhiteboard:
 Displays the whiteboard view when someone is sharing the whiteboard.
 
(visionos) - API_UNAVAILABLE
 Hides the whiteboard sharing view when someone is sharing the whiteboard.
 
(visionos) - API_UNAVAILABLE
 Checks whether the current user can start whiteboard sharing. Only the host can start whiteboard sharing.
 
(visionos) - API_UNAVAILABLE
 Starts whiteboard sharing in the session.
 
(visionos) - API_UNAVAILABLE
 Checks whether the current user can stop whiteboard sharing.
 
(visionos) - API_UNAVAILABLE
 Stops whiteboard sharing in the session.
 
(visionos) - API_UNAVAILABLE
 Checks whether another user is currently sharing a whiteboard.
 
(ZoomVideoSDKError- exportWhiteboard:
 Exports the currently shared whiteboard.
 

Detailed Description

The whiteboard helper interface.

Note
IMPORTANT: To prevent whiteboard data loss, developers must call exportWhiteboard: before the following scenarios:

Definition at line 19 of file ZoomVideoSDKWhiteboardHelper.h.

Method Documentation

◆ API_UNAVAILABLE [1/6]

- (visionos) API_UNAVAILABLE

Hides the whiteboard sharing view when someone is sharing the whiteboard.

Returns
If the function succeeds, the return value is ZoomVideoSDKErrors_Success. Otherwise failed. For detailed error codes, see ZoomVideoSDKErrors enum.

◆ API_UNAVAILABLE [2/6]

- (visionos) API_UNAVAILABLE

Checks whether the current user can start whiteboard sharing. Only the host can start whiteboard sharing.

Returns
true if the user can start whiteboard sharing, otherwise it returns false.
Note
The whiteboard service is an add-on, be sure to enable it by package zm-annoter & whiteboard module, otherwise this method will always returns false.

◆ API_UNAVAILABLE [3/6]

- (visionos) API_UNAVAILABLE

Starts whiteboard sharing in the session.

Returns
If the function succeeds, the return value is ZoomVideoSDKErrors_Success. Otherwise failed. For detailed error codes, see ZoomVideoSDKErrors enum.

◆ API_UNAVAILABLE [4/6]

- (visionos) API_UNAVAILABLE

Checks whether the current user can stop whiteboard sharing.

Returns
true if the user can stop whiteboard sharing, otherwise it returns false.

◆ API_UNAVAILABLE [5/6]

- (visionos) API_UNAVAILABLE

Stops whiteboard sharing in the session.

Returns
If the function succeeds, the return value is ZoomVideoSDKErrors_Success. Otherwise failed. For detailed error codes, see ZoomVideoSDKErrors enum.

◆ API_UNAVAILABLE [6/6]

- (visionos) API_UNAVAILABLE

Checks whether another user is currently sharing a whiteboard.

Returns
true if another user is sharing whiteboard; otherwise it returns false.

◆ exportWhiteboard:

- (ZoomVideoSDKError) exportWhiteboard: (visionos) API_UNAVAILABLE

Exports the currently shared whiteboard.

Parameters
formatThe export format.
Returns
If the function succeeds, the return value is ZoomVideoSDKErrors_Success. Otherwise failed. For detailed error codes, see ZoomVideoSDKErrors enum.
Note
The exported data is delivered via ZoomVideoSDKDelegate::onWhiteboardExported:data:. Be sure to implement this callback in your delegate to handle the exported data.
Warning
During the export process (before receiving the ZoomVideoSDKDelegate::onWhiteboardExported:data: callback), calling stopShareWhiteboard will cause data loss. Wait until the export is complete before stopping the whiteboard share.

◆ subscribeWhiteboard:

- (ZoomVideoSDKError) subscribeWhiteboard: (visionos) API_UNAVAILABLE

Displays the whiteboard view when someone is sharing the whiteboard.

Parameters
vcThe view controller to attach the whiteboard view to.
Returns
If the function succeeds, the return value is ZoomVideoSDKErrors_Success. Otherwise failed. For detailed error codes, see ZoomVideoSDKErrors enum.
Note
The view controller should be hidden when whiteboard sharing is stopped, or the user who is sharing the whiteboard leaves session, or the session is failover for Errors_Session_Reconncting.