Video SDK for Windows API Reference
Loading...
Searching...
No Matches
IZoomVideoSDKAnnotationHelper Class Referenceabstract

Annotation helper interface. More...

#include <zoom_video_sdk_annotation_helper_interface.h>

Public Member Functions

virtual ~IZoomVideoSDKAnnotationHelper ()
 
virtual bool canDoAnnotation ()=0
 Determine Whether the current user can do annotation on the share.
 
virtual bool isSenderDisableAnnotation ()=0
 Determine whether annotation was disabled or not by the share owner.
 
virtual ZoomVideoSDKErrors startAnnotation ()=0
 Starts annotation.
 
virtual ZoomVideoSDKErrors stopAnnotation ()=0
 Stops annotation.

 
virtual ZoomVideoSDKErrors setToolType (ZoomVideoSDKAnnotationToolType toolType)=0
 Sets the annotation tool type.
 
virtual ZoomVideoSDKErrors getToolType (ZoomVideoSDKAnnotationToolType &toolType)=0
 Gets the annotation tool type.
 
virtual ZoomVideoSDKErrors setToolColor (unsigned long color)=0
 Sets the annotation tool color.
 
virtual ZoomVideoSDKErrors getToolColor (unsigned long &color)=0
 Gets the annotation tool color.
 
virtual ZoomVideoSDKErrors setToolWidth (long lineWidth)=0
 Sets the annotation tool width.
 
virtual ZoomVideoSDKErrors getToolWidth (long &lineWidth)=0
 Gets the annotation tool width.
 
virtual ZoomVideoSDKErrors clear (ZoomVideoSDKAnnotationClearType clearType)=0
 ClearS the annotation content.
 
virtual ZoomVideoSDKErrors undo ()=0
 Undo one annotation content step.
 
virtual ZoomVideoSDKErrors redo ()=0
 Redo one annotation content step.
 

Detailed Description

Annotation helper interface.

Definition at line 50 of file zoom_video_sdk_annotation_helper_interface.h.

Constructor & Destructor Documentation

◆ ~IZoomVideoSDKAnnotationHelper()

virtual IZoomVideoSDKAnnotationHelper::~IZoomVideoSDKAnnotationHelper ( )
inlinevirtual

Definition at line 53 of file zoom_video_sdk_annotation_helper_interface.h.

53{};

Member Function Documentation

◆ canDoAnnotation()

virtual bool IZoomVideoSDKAnnotationHelper::canDoAnnotation ( )
pure virtual

Determine Whether the current user can do annotation on the share.

Returns
true means the user can do annotation, otherwise false.

◆ clear()

virtual ZoomVideoSDKErrors IZoomVideoSDKAnnotationHelper::clear ( ZoomVideoSDKAnnotationClearType clearType)
pure virtual

ClearS the annotation content.

Returns
If the function succeeds, the return value is ZoomVideoSDKErrors_Success. \Host and manager can clear all and clear self; Share owner can clear all, clear othersand clear self; Attendee can only clear self.

◆ getToolColor()

virtual ZoomVideoSDKErrors IZoomVideoSDKAnnotationHelper::getToolColor ( unsigned long & color)
pure virtual

Gets the annotation tool color.

Returns
If the function succeeds, the return value is ZoomVideoSDKErrors_Success. Otherwise failed. To get extended error information, see ZoomVideoSDKErrors enum.

◆ getToolType()

virtual ZoomVideoSDKErrors IZoomVideoSDKAnnotationHelper::getToolType ( ZoomVideoSDKAnnotationToolType & toolType)
pure virtual

Gets the annotation tool type.

Returns
If the function succeeds, the return value is ZoomVideoSDKErrors_Success. Otherwise failed. To get extended error information, see ZoomVideoSDKErrors enum.

◆ getToolWidth()

virtual ZoomVideoSDKErrors IZoomVideoSDKAnnotationHelper::getToolWidth ( long & lineWidth)
pure virtual

Gets the annotation tool width.

Returns
If the function succeeds, the return value is ZoomVideoSDKErrors_Success. Otherwise failed. To get extended error information, see ZoomVideoSDKErrors enum.

◆ isSenderDisableAnnotation()

virtual bool IZoomVideoSDKAnnotationHelper::isSenderDisableAnnotation ( )
pure virtual

Determine whether annotation was disabled or not by the share owner.

Returns
true disable, false not disable.
Deprecated
This interface is marked as deprecated, and is replaced by canDoAnnotation.

◆ redo()

virtual ZoomVideoSDKErrors IZoomVideoSDKAnnotationHelper::redo ( )
pure virtual

Redo one annotation content step.

Returns
If the function succeeds, the return value is ZoomVideoSDKErrors_Success. Otherwise failed. To get extended error information, see ZoomVideoSDKErrors enum.

◆ setToolColor()

virtual ZoomVideoSDKErrors IZoomVideoSDKAnnotationHelper::setToolColor ( unsigned long color)
pure virtual

Sets the annotation tool color.

Parameters
colorThe specified color.
Returns
If the function succeeds, the return value is ZoomVideoSDKErrors_Success. Otherwise failed. To get extended error information, see ZoomVideoSDKErrors enum.

◆ setToolType()

virtual ZoomVideoSDKErrors IZoomVideoSDKAnnotationHelper::setToolType ( ZoomVideoSDKAnnotationToolType toolType)
pure virtual

Sets the annotation tool type.

Parameters
toolTypeThe specified tool type. For the definitions of the tools, see ZoomVideoSDKAnnotationToolType enum.
Returns
If the function succeeds, the return value is SDKErr_Success. Otherwise failed. To get extended error information, see ZoomVideoSDKErrors enum.
Remarks
The tool type ZoomVideoSDKAnnotationToolType_Picker and ZoomVideoSDKAnnotationToolType_SpotLight are not support for viewer.

◆ setToolWidth()

virtual ZoomVideoSDKErrors IZoomVideoSDKAnnotationHelper::setToolWidth ( long lineWidth)
pure virtual

Sets the annotation tool width.

Parameters
lineWidthThe specified tool width.
Returns
If the function succeeds, the return value is ZoomVideoSDKErrors_Success. Otherwise failed. To get extended error information, see ZoomVideoSDKErrors enum.

◆ startAnnotation()

virtual ZoomVideoSDKErrors IZoomVideoSDKAnnotationHelper::startAnnotation ( )
pure virtual

Starts annotation.

Returns
If the function succeeds, the return value is ZoomVideoSDKErrors_Success. Otherwise failed. To get extended error information, see ZoomVideoSDKErrors enum.

◆ stopAnnotation()

virtual ZoomVideoSDKErrors IZoomVideoSDKAnnotationHelper::stopAnnotation ( )
pure virtual

Stops annotation.

Returns
If the function succeeds, the return value is ZoomVideoSDKErrors_Success. Otherwise failed. To get extended error information, see ZoomVideoSDKErrors enum.

◆ undo()

virtual ZoomVideoSDKErrors IZoomVideoSDKAnnotationHelper::undo ( )
pure virtual

Undo one annotation content step.

Returns
If the function succeeds, the return value is ZoomVideoSDKErrors_Success. Otherwise failed. To get extended error information, see ZoomVideoSDKErrors enum.