Meeting SDK for macOS API Reference
Loading...
Searching...
No Matches
ZoomSDKMeetingDocsController.h
Go to the documentation of this file.
1#import <Foundation/Foundation.h>
2#import <ZoomSDK/ZoomSDKErrors.h>
3
4NS_ASSUME_NONNULL_BEGIN
5
9@interface ZoomSDKDocsSharingSourceInfo: NSObject
13@property(nonatomic, assign, readonly) unsigned int shareSourceID;
17@property(nonatomic, assign, readonly) unsigned int userID;
21@property(nonatomic, assign, readonly) ZoomSDKDocsStatus status;
25@property(nonatomic, copy, readonly) NSString *docTitle;
26@end
27
28@protocol ZoomSDKMeetingDocsControllerDelegate <NSObject>
33- (void)onDocsSharingSourceInfoChanged:(ZoomSDKDocsSharingSourceInfo *)shareSourceInfo;
34
40- (void)onDocsPermissionChanged:(ZoomSDKDocsCreateOption)createOption shareOption:(ZoomSDKDocsShareOption)shareOption;
41@end
42
43@interface ZoomSDKMeetingDocsController : NSObject
44
45@property(nonatomic,assign,nullable) id<ZoomSDKMeetingDocsControllerDelegate> delegate;
46
51- (BOOL)isSupportDocs;
52
58- (BOOL)canStartShareDocs:(ZoomSDKCannotShareReasonType*)reason;
59
64- (BOOL)canSetDocsOption;
65
70- (BOOL)isOtherSharingDocs;
71
76- (BOOL)isSharingDocsOut;
77
83- (ZoomSDKError)setDocsShareOption:(ZoomSDKDocsShareOption)option;
84
89- (ZoomSDKDocsShareOption)getDocsShareOption;
90
96- (ZoomSDKError)setDocsCreateOption:(ZoomSDKDocsCreateOption)option;
97
102- (ZoomSDKDocsCreateOption)getDocsCreateOption;
103
110- (ZoomSDKError)showDashboardWindow:(NSPoint)point;
111
118- (ZoomSDKError)setDocsWindowPos:(NSPoint)point;
119
126- (ZoomSDKError)setDocsWindowSize:(NSSize)size;
127
134- (ZoomSDKError)showDocsWindow:(unsigned int)shareSourceID;
135
141- (ZoomSDKError)closeDocsWindow;
142
147- (NSArray<NSNumber *>* _Nullable)getViewableSharingUserList;
148
154- (NSArray<ZoomSDKDocsSharingSourceInfo *>* _Nullable)getSharingSourceInfoList:(unsigned int)userID;
155@end
156
157NS_ASSUME_NONNULL_END
ZoomSDKDocsStatus
Enumeration of document sharing status in a meeting.
ZoomSDKCannotShareReasonType
Enumeration of reasons why sharing is not allowed.
ZoomSDKDocsCreateOption
Enumeration of document creation permission options.
ZoomSDKError
Enumeration of common errors of SDK.
ZoomSDKDocsShareOption
Enumeration of document sharing permission options.
ZOOM docs share information class.
ZoomSDKDocsStatus status
Get the status of Zoom docs sharing.
unsigned int userID
Get the user ID of who is sharing Zoom docs.
unsigned int shareSourceID
Get the share source ID of who is sharing Zoom docs.
NSString * docTitle
Get the title of the shared Zoom docs.