Mac SDK
ZoomSDKCustomizedAnnotationCtr.h
1 //
2 // ZoomSDKCustomizedAnnotationCtr.h
3 // ZoomSDK
4 //
5 // Created by TOTTI on 2018/6/15.
6 // Copyright © 2018 Zoom Video Communications,Inc. All rights reserved.
7 // [Used for Customized UI]
8 #import "ZoomSDKErrors.h"
9 
10 @class ZoomSDKShareElement;
11 
12 typedef struct{
13  float red;
14  float green;
15  float blue;
16 }Color;
17 
23 - (void) onAnnotationToolChanged:(AnnotationToolType)tool;
24 @end
25 
26 @interface ZoomSDKCustomizedAnnotation : NSObject
27 {
28  ZoomSDKShareElement* _shareElement;
29  id<ZoomSDKCustomizedAnnotationDelegate> _delegate;
30 }
31 @property(nonatomic, assign)id<ZoomSDKCustomizedAnnotationDelegate> delegate;
37 - (ZoomSDKError)canClear:(AnnotationClearType)clearType;
43 - (ZoomSDKError)clear:(AnnotationClearType)clearType;
49 - (ZoomSDKError)setTool:(AnnotationToolType)toolType;
55 - (ZoomSDKError)getCurrentTool:(AnnotationToolType*)toolType;
61 - (ZoomSDKError)setColor:(Color)color;
67 - (ZoomSDKError)getCurrentColor:(Color*)color;
73 - (ZoomSDKError)setLineWidth:(long)lineWidth;
79 - (ZoomSDKError)getCurrentLineWidth:(long*)lineWidth;
84 - (ZoomSDKError)undo;
89 - (ZoomSDKError)redo;
94 - (ZoomSDKError)canSaveSnapshot;
100 - (ZoomSDKError)saveSnapshot:(NSString*)snapShotName NS_DEPRECATED_MAC(4.1, 5.0);
101 
108 - (ZoomSDKError)saveSnapshot:(NSString*)snapShotName snapshotSaveType:(ZoomSDKAnnotationSavedType)savedType NS_AVAILABLE_MAC(5.2);
109 @end
110 
116 - (void)onAnnotationCleanUp:(ZoomSDKCustomizedAnnotation*)annotation;
122 - (void)onAnnotationStatusChanged:(ZoomSDKShareElement*)element Status:(AnnotationStatus)status;
123 
129 - (void)onAnnotationSupportPropertyChangedForCustom:(BOOL)isSupportAnnotation shareSourceUserID:(unsigned int)userID;
130 @end
131 
132 
133 @interface ZoomSDKCustomizedAnnotationCtr : NSObject
134 {
135  id<ZoomSDKCustomizedAnnotationCtrlDelegate> _delegate;
136 }
137 @property(nonatomic, assign) id<ZoomSDKCustomizedAnnotationCtrlDelegate> delegate;
138 
145 -(ZoomSDKError)createCustomizedAnnotation:(ZoomSDKCustomizedAnnotation**)annotation ShareElement:(ZoomSDKShareElement*)element;
151 -(ZoomSDKError)cleanCustomizedAnnatation:(ZoomSDKCustomizedAnnotation*)annotation;
152 
159 - (ZoomSDKError)disableViewerAnnotation:(ZoomSDKCustomizedAnnotation*)annotation disable:(BOOL)disable;
160 
167 - (ZoomSDKError)isViewerAnnotationLocked:(ZoomSDKCustomizedAnnotation*)annotation isLocked:(BOOL*)locked;
168 
175 - (ZoomSDKError)canDisableViewerAnnotation:(ZoomSDKCustomizedAnnotation*)annotation canDisabled:(BOOL*)canDisable;
176 
183 - (ZoomSDKError)canDoAnnotation:(ZoomSDKCustomizedAnnotation*)annotation canAnnotate:(BOOL*)canAnnotate;
184 @end
ZoomSDKCustomizedAnnotationDelegate-p
Definition: ZoomSDKCustomizedAnnotationCtr.h:18
Color
Definition: ZoomSDKCustomizedAnnotationCtr.h:12
ZoomSDKShareElement
Definition: ZoomSDKShareContainer.h:24
ZoomSDKCustomizedAnnotationCtr
Definition: ZoomSDKCustomizedAnnotationCtr.h:134
ZoomSDKCustomizedAnnotation
Definition: ZoomSDKCustomizedAnnotationCtr.h:27
ZoomSDKCustomizedAnnotationCtrlDelegate-p
Definition: ZoomSDKCustomizedAnnotationCtr.h:111