macOS SDK API Reference
Loading...
Searching...
No Matches
ZoomSDKShareContainer.h
Go to the documentation of this file.
2// [Used for Customized UI]
3#import "ZoomSDKErrors.h"
4
5@protocol ZoomSDKShareElementDelegate <NSObject>
9-(void)onShareContentStartReceiving;
14-(void)onShareSourceUserIDNotify:(unsigned int)userid;
15
16@end
17
18@interface ZoomSDKShareElement : NSObject
19{
20 unsigned int _userId;
22 NSView* _shareView;
23 id<ZoomSDKShareElementDelegate> _delegate;
24 NSRect _frame;
25}
26@property(nonatomic, assign) unsigned int userId;
27@property(nonatomic, assign) ViewShareMode viewMode;
28@property(nonatomic, assign) NSView* shareView;
29@property(nonatomic, assign) id<ZoomSDKShareElementDelegate> delegate;
34- (id)initWithFrame:(NSRect)frame;
40- (ZoomSDKError)resize:(NSRect)frame;
46- (ZoomSDKError)ShowShareRender:(BOOL)show;
47@end
48
49@protocol ZoomSDKShareContainerDelegate <NSObject>
54-(void)onShareElementDestroy:(ZoomSDKShareElement*)element;
55@end
56
57@interface ZoomSDKShareContainer : NSObject
58{
59 NSMutableArray* _elementArray;
60 id<ZoomSDKShareContainerDelegate> _delegate;
61}
62@property(nonatomic, assign)id<ZoomSDKShareContainerDelegate> delegate;
68-(ZoomSDKError)createShareElement:(ZoomSDKShareElement**)element;
74-(ZoomSDKError)cleanShareElement:(ZoomSDKShareElement*)element;
79-(NSArray*)getShareElementArray;
85-(ZoomSDKShareElement*)getShareElementByUserID:(unsigned int)userid;
86
87@end
ZoomSDKError
Enumeration of common errors of SDK.
ViewShareMode
Enumeration of sharing modes.
id< ZoomSDKShareContainerDelegate > _delegate
NSMutableArray * _elementArray
id< ZoomSDKShareElementDelegate > _delegate