Mac SDK
ZoomSDKShareContainer.h
1 //
2 // ZoomSDKShareContainer.h
3 // ZoomSDK
4 //
5 // Created by Totti on 2018/6/22.
6 // Copyright © 2018 Zoom Video Communications,Inc. All rights reserved.
7 // [Used for Customized UI]
8 #import "ZoomSDKErrors.h"
9 
10 @protocol ZoomSDKShareElementDelegate <NSObject>
19 -(void)onShareSourceUserIDNotify:(unsigned int)userid;
20 
21 @end
22 
23 @interface ZoomSDKShareElement : NSObject
24 {
25  unsigned int _userId;
26  ViewShareMode _viewMode;
27  NSView* _shareView;
28  id<ZoomSDKShareElementDelegate> _delegate;
29  NSRect _frame;
30 }
31 @property(nonatomic, assign) unsigned int userId;
32 @property(nonatomic, assign) ViewShareMode viewMode;
33 @property(nonatomic, assign) NSView* shareView;
34 @property(nonatomic, assign) id<ZoomSDKShareElementDelegate> delegate;
39 - (id)initWithFrame:(NSRect)frame;
45 - (ZoomSDKError)resize:(NSRect)frame;
51 - (ZoomSDKError)ShowShareRender:(BOOL)show;
52 @end
53 
54 @protocol ZoomSDKShareContainerDelegate <NSObject>
59 -(void)onShareElementDestroy:(ZoomSDKShareElement*)element;
60 @end
61 
62 @interface ZoomSDKShareContainer : NSObject
63 {
64  NSMutableArray* _elementArray;
65  id<ZoomSDKShareContainerDelegate> _delegate;
66 }
67 @property(nonatomic, assign)id<ZoomSDKShareContainerDelegate> delegate;
73 -(ZoomSDKError)createShareElement:(ZoomSDKShareElement**)element;
79 -(ZoomSDKError)cleanShareElement:(ZoomSDKShareElement*)element;
84 -(NSArray*)getShareElementArray;
90 -(ZoomSDKShareElement*)getShareElementByUserID:(unsigned int)userid;
91 
92 @end
-[ZoomSDKShareElementDelegate-p onShareContentStartReceiving]
void onShareContentStartReceiving()
Callback event of sharer sending data.
ZoomSDKShareContainerDelegate-p
Definition: ZoomSDKShareContainer.h:54
ZoomSDKShareElementDelegate-p
Definition: ZoomSDKShareContainer.h:10
ZoomSDKShareContainer
Definition: ZoomSDKShareContainer.h:63
ZoomSDKShareElement
Definition: ZoomSDKShareContainer.h:24