6#import <ZoomSDK/ZoomSDKErrors.h>
13@protocol ZoomSDKShareElementDelegate <NSObject>
17- (void)onShareContentStartReceiving;
22- (void)onShareSourceNotify:(
unsigned int)sharingID;
42@property(nonatomic, assign)
unsigned int sharingID;
50@property(nonatomic, assign, nullable) NSView* shareView;
54@property(nonatomic, assign, nullable) id<ZoomSDKShareElementDelegate> delegate;
59- (id)initWithFrame:(NSRect)frame;
79@protocol ZoomSDKShareContainerDelegate <NSObject>
100@property(nonatomic, assign, nullable)id<ZoomSDKShareContainerDelegate> delegate;
117- (NSArray*_Nullable)getShareElementArray;
132@protocol ZoomSDKShareActionDelegate <NSObject>
137- (void)onSharingContentStartReceiving;
143- (void)onActionBeforeDestroyed:(
unsigned int)sharingID;
155@property(nonatomic,assign, nullable)id<ZoomSDKShareActionDelegate>
delegate;
159@property(nonatomic, readonly, assign)
unsigned int sharingID;
167@property(nonatomic, readonly, assign, nullable) NSView*
shareView;
ZoomSDKError
Enumeration of common errors of SDK.
ViewShareMode
Enumeration of video aspect modes.
Representing a share action, including subscription and rendering controls.
ZoomSDKError unsubscribe()
Unsubscribe from the sharing content.
ViewShareMode viewMode
The view mode for displaying the share content.
id< ZoomSDKShareActionDelegate > delegate
Delegate for share action events.
NSView * shareView
View for rendering the share content.
ZoomSDKError subscribe()
Subscribe to the sharing content.
unsigned int sharingID
Unique ID of the sharing action.
NSString * sharingUserName
Display name of the user sharing the content.
Container to manage all share elements.
id< ZoomSDKShareContainerDelegate > _delegate
NSMutableArray * _elementArray
The share element object to handle individual shared content and render view.
id< ZoomSDKShareElementDelegate > _delegate