macOS SDK API Reference
Loading...
Searching...
No Matches
ZoomSDKCustomizedAnnotationCtr.h
Go to the documentation of this file.
1
2// [Used for Customized UI]
3#import "ZoomSDKErrors.h"
4
6
7typedef struct{
8 float red;
9 float green;
10 float blue;
11}Color;
12
13@protocol ZoomSDKCustomizedAnnotationDelegate <NSObject>
18- (void) onAnnotationToolChanged:(AnnotationToolType)tool;
19@end
20
21@interface ZoomSDKCustomizedAnnotation : NSObject
22{
24 id<ZoomSDKCustomizedAnnotationDelegate> _delegate;
25}
26@property(nonatomic, assign)id<ZoomSDKCustomizedAnnotationDelegate> delegate;
32- (ZoomSDKError)canClear:(AnnotationClearType)clearType;
38- (ZoomSDKError)clear:(AnnotationClearType)clearType;
44- (ZoomSDKError)setTool:(AnnotationToolType)toolType;
50- (ZoomSDKError)getCurrentTool:(AnnotationToolType*)toolType;
56- (ZoomSDKError)setColor:(Color)color;
62- (ZoomSDKError)getCurrentColor:(Color*)color;
68- (ZoomSDKError)setLineWidth:(long)lineWidth;
74- (ZoomSDKError)getCurrentLineWidth:(long*)lineWidth;
79- (ZoomSDKError)undo;
84- (ZoomSDKError)redo;
89- (ZoomSDKError)canSaveSnapshot;
90
97- (ZoomSDKError)saveSnapshot:(NSString*)snapShotName snapshotSaveType:(ZoomSDKAnnotationSavedType)savedType;
98@end
99
100@protocol ZoomSDKCustomizedAnnotationCtrlDelegate <NSObject>
105- (void)onAnnotationCleanUp:(ZoomSDKCustomizedAnnotation*)annotation;
111- (void)onAnnotationStatusChanged:(ZoomSDKShareElement*)element Status:(AnnotationStatus)status;
112
118- (void)onAnnotationSupportPropertyChangedForCustom:(BOOL)isSupportAnnotation shareSourceUserID:(unsigned int)userID;
119@end
120
121
123{
124 id<ZoomSDKCustomizedAnnotationCtrlDelegate> _delegate;
125}
126@property(nonatomic, assign) id<ZoomSDKCustomizedAnnotationCtrlDelegate> delegate;
127
134-(ZoomSDKError)createCustomizedAnnotation:(ZoomSDKCustomizedAnnotation**)annotation ShareElement:(ZoomSDKShareElement*)element;
140-(ZoomSDKError)cleanCustomizedAnnatation:(ZoomSDKCustomizedAnnotation*)annotation;
141
148- (ZoomSDKError)disableViewerAnnotation:(ZoomSDKCustomizedAnnotation*)annotation disable:(BOOL)disable;
149
156- (ZoomSDKError)isViewerAnnotationLocked:(ZoomSDKCustomizedAnnotation*)annotation isLocked:(BOOL*)locked;
157
164- (ZoomSDKError)canDisableViewerAnnotation:(ZoomSDKCustomizedAnnotation*)annotation canDisabled:(BOOL*)canDisable;
165
172- (ZoomSDKError)canDoAnnotation:(ZoomSDKCustomizedAnnotation*)annotation canAnnotate:(BOOL*)canAnnotate;
173@end
AnnotationToolType
Type of annotation tools.
AnnotationClearType
Types of clearing annotations.
AnnotationStatus
Enumeration of annotation status.
ZoomSDKAnnotationSavedType
Enumerations of the type for save screenshot file.
ZoomSDKError
Enumeration of common errors of SDK.
id< ZoomSDKCustomizedAnnotationCtrlDelegate > _delegate
id< ZoomSDKCustomizedAnnotationDelegate > _delegate