Meeting SDK for macOS API Reference
Loading...
Searching...
No Matches
ZoomSDKCustomizedAnnotationCtr.h
Go to the documentation of this file.
1
2// [Used for Customized UI]
3#import <ZoomSDK/ZoomSDKErrors.h>
4
5NS_ASSUME_NONNULL_BEGIN
7
8typedef struct{
9 float red;
10 float green;
11 float blue;
12}Color;
13
14@protocol ZoomSDKCustomizedAnnotationDelegate <NSObject>
19- (void) onAnnotationToolChanged:(AnnotationToolType)tool;
20@end
21
22@interface ZoomSDKCustomizedAnnotation : NSObject
23{
25 id<ZoomSDKCustomizedAnnotationDelegate> _delegate;
26}
27@property(nonatomic, assign, nullable)id<ZoomSDKCustomizedAnnotationDelegate> delegate;
33- (ZoomSDKError)canClear:(AnnotationClearType)clearType;
39- (ZoomSDKError)clear:(AnnotationClearType)clearType;
46- (ZoomSDKError)setTool:(AnnotationToolType)toolType;
52- (ZoomSDKError)getCurrentTool:(AnnotationToolType*)toolType;
58- (ZoomSDKError)setColor:(Color)color;
64- (ZoomSDKError)getCurrentColor:(Color*)color;
70- (ZoomSDKError)setLineWidth:(long)lineWidth;
76- (ZoomSDKError)getCurrentLineWidth:(long*)lineWidth;
81- (ZoomSDKError)undo;
86- (ZoomSDKError)redo;
91- (ZoomSDKError)canSaveSnapshot;
92
99- (ZoomSDKError)saveSnapshot:(NSString*)snapShotName snapshotSaveType:(ZoomSDKAnnotationSavedType)savedType;
100@end
101
102@protocol ZoomSDKCustomizedAnnotationCtrlDelegate <NSObject>
107- (void)onAnnotationCleanUp:(ZoomSDKCustomizedAnnotation*)annotation;
113- (void)onAnnotationStatusChanged:(ZoomSDKShareElement*_Nullable)element Status:(AnnotationStatus)status;
114
120- (void)onAnnotationSupportPropertyChangedForCustom:(BOOL)isSupportAnnotation shareSourceID:(unsigned int)shareSourceID;
121@end
122
123
125{
126 id<ZoomSDKCustomizedAnnotationCtrlDelegate> _delegate;
127}
128@property(nonatomic, assign, nullable) id<ZoomSDKCustomizedAnnotationCtrlDelegate> delegate;
129
136- (ZoomSDKError)createCustomizedAnnotation:(ZoomSDKCustomizedAnnotation*_Nullable*_Nonnull)annotation ShareElement:(ZoomSDKShareElement*)element;
142- (ZoomSDKError)cleanCustomizedAnnotation:(ZoomSDKCustomizedAnnotation*)annotation;
143
150- (ZoomSDKError)disableViewerAnnotation:(ZoomSDKCustomizedAnnotation*)annotation disable:(BOOL)disable;
151
158- (ZoomSDKError)isViewerAnnotationLocked:(ZoomSDKCustomizedAnnotation*)annotation isLocked:(BOOL*)locked;
159
166- (ZoomSDKError)canDisableViewerAnnotation:(ZoomSDKCustomizedAnnotation*)annotation canDisabled:(BOOL*)canDisable;
167
174- (ZoomSDKError)canDoAnnotation:(ZoomSDKCustomizedAnnotation*)annotation canAnnotate:(BOOL*)canAnnotate;
175@end
176NS_ASSUME_NONNULL_END
AnnotationToolType
Type of annotation tools. For more information, please visit https://support.zoom....
AnnotationClearType
Types of clearing annotations.
AnnotationStatus
Enumeration of annotation status.
ZoomSDKAnnotationSavedType
Enumeration of file types for saving screenshots.
ZoomSDKError
Enumeration of common errors of SDK.
id< ZoomSDKCustomizedAnnotationCtrlDelegate > _delegate
id< ZoomSDKCustomizedAnnotationDelegate > _delegate