ZOOM Windows SDK  5.2.42037.1112
customized_annotation.h
Go to the documentation of this file.
1 
6 #ifndef _ZOOM_CUSTOMIZED_ANNOTATION_H_
7 #define _ZOOM_CUSTOMIZED_ANNOTATION_H_
8 #include "..\zoom_sdk_def.h"
9 #include "..\meeting_service_components\meeting_annotation_interface.h"
10 
11 BEGIN_ZOOM_SDK_NAMESPACE
13 
19 {
22 };
23 
24 enum SDKAnnoSaveType
25 {
26  SDK_ANNO_SAVE_NONE = 0,
27  SDK_ANNO_SAVE_PNG,
28  SDK_ANNO_SAVE_PDF,
29  SDK_ANNO_SAVE_PNG_MEMORY,
30  SDK_ANNO_SAVE_PDF_MEMORY,
31  SDK_ANNO_SAVE_BITMAP_MEMORY,
32 };
36 {
37 public:
40  virtual void onAnnotationObjToolChange(AnnotationToolType type_) = 0;
41 };
42 
46 {
47 public:
52  virtual SDKError SetEvent(ICustomizedAnnotationObjEvent* event_) = 0;
53 
58  virtual SDKError CanClear(AnnotationClearType type) = 0;
59 
64  virtual SDKError Clear(AnnotationClearType type) = 0;
65 
70  virtual SDKError SetTool(AnnotationToolType type) = 0;
71 
76  virtual SDKError SetColor(unsigned long color) = 0;
77 
82  virtual SDKError SetLineWidth(long lineWidth) = 0;
83 
88  virtual SDKError GetCurColor(unsigned long& color) = 0;
89 
94  virtual SDKError GetCurLineWidth(long& lineWidth) = 0;
95 
100  virtual SDKError GetCurTool(AnnotationToolType& type) = 0;
101 
105  virtual SDKError Undo() = 0;
106 
110  virtual SDKError Redo() = 0;
111 
115  virtual SDKError CanSaveSnapshot() = 0;
116 
121  virtual SDKError SaveSnapshot(const wchar_t* path, SDKAnnoSaveType nType) = 0;
122 
127  virtual SDKError CanDoAnnotation(bool& bCan) = 0;
128 
131  virtual bool IsAnnoataionDisable() = 0;
132 
133  virtual ~ICustomizedAnnotationObj(){};
134 
135 
136 };
137 
141 {
142 public:
146 
151 };
152 
156 {
157 public:
163 
170  virtual SDKError CreateAnnoObj(ICustomizedShareRender* view_share_render, ICustomizedAnnotationObj** pp_obj) = 0;
171 
176  virtual SDKError DestroyAnnoObj(ICustomizedAnnotationObj* anno_obj) = 0;
177  virtual ~ICustomizedAnnotationController(){};
178 
179 };
180 END_ZOOM_SDK_NAMESPACE
181 #endif
The toolbar has been created.
Definition: customized_annotation.h:20
virtual SDKError DestroyAnnoObj(ICustomizedAnnotationObj *anno_obj)=0
Destroy the specified annotation object.
CustomizedShareAnnotationStatus
Status of custom annotation toolbar. Here are more detailed structural descriptions..
Definition: customized_annotation.h:18
virtual void onCustomizedAnnotationObjDestroyed(ICustomizedAnnotationObj *obj_)=0
Callback of destroying the specified annotation object.
virtual bool IsAnnoataionDisable()=0
Determine whether annotations are currently available.
AnnotationToolType
Types of annotation tool. Here are more detailed structural descriptions.
Definition: meeting_annotation_interface.h:16
Annotation object callback event.
Definition: customized_annotation.h:35
virtual SDKError Redo()=0
Redo the annotation that was undone.
virtual SDKError Clear(AnnotationClearType type)=0
Clear the annotation with the specified type.
SDKError
SDK error types. Here are more detailed structural descriptions.
Definition: zoom_sdk_def.h:29
virtual SDKError GetCurColor(unsigned long &color)=0
Get the color of current annotation tool.
The toolbar will be destroyed.
Definition: customized_annotation.h:21
virtual SDKError SetEvent(ICustomizedAnnotationObjEvent *event_)=0
Set annotation object callback event handler.
Annotation controller interface.
Definition: customized_annotation.h:155
virtual SDKError SaveSnapshot(const wchar_t *path, SDKAnnoSaveType nType)=0
Save the screenshot in the specified path.
Annotation object interface.
Definition: customized_annotation.h:45
AnnotationClearType
Clear types of annotation tools. Here are more detailed structural descriptions.
Definition: meeting_annotation_interface.h:50
virtual SDKError SetTool(AnnotationToolType type)=0
Set the tool to annotate.
virtual SDKError Undo()=0
Undo the last annotation.
virtual SDKError CanDoAnnotation(bool &bCan)=0
Determine if can do annotate.
virtual SDKError CanSaveSnapshot()=0
Determine if it is enabled to save the screenshot.
virtual SDKError CreateAnnoObj(ICustomizedShareRender *view_share_render, ICustomizedAnnotationObj **pp_obj)=0
An instance created on the specified render which is an object of ICustomizedShareRender created on t...
Annotation controller callback event.
Definition: customized_annotation.h:140
virtual SDKError SetEvent(ICustomizedAnnotationControllerEvent *event_)=0
Set annotation controller callback event handler.
virtual SDKError SetLineWidth(long lineWidth)=0
Set the value of line width of annotation tool.
virtual SDKError CanClear(AnnotationClearType type)=0
Determine if it is enabled to clear annotations by the specified way.
virtual SDKError SetColor(unsigned long color)=0
Set the color to annotate.
virtual void onAnnotationObjToolChange(AnnotationToolType type_)=0
Callback event that the annotation tool changes.
virtual SDKError GetCurTool(AnnotationToolType &type)=0
Get the type of the current annotation tool.
virtual void onSharingShareAnnotationStatusChanged(ICustomizedShareRender *share_render_, CustomizedShareAnnotationStatus status_)=0
Callback event when the annotation status changes.
virtual SDKError GetCurLineWidth(long &lineWidth)=0
Get the value of line width of the current annotation tool.
Share render interface.
Definition: customized_share_render.h:47