6#import <ZoomSDK/ZoomSDKErrors.h>
13@protocol ZoomSDKShareElementDelegate <NSObject>
22- (void)onShareSourceNotify:(
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;
132@protocol ZoomSDKShareActionDelegate <NSObject>
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
id< ZoomSDKShareContainerDelegate > delegate
Delegate for container-level share element callbacks.
NSArray *_Nullable getShareElementArray()
Gets an array of shared elements.
The share element object to handle individual shared content and render view.
id< ZoomSDKShareElementDelegate > delegate
Delegate for share element callbacks.
ViewShareMode viewMode
The view mode of the shared content.
NSView * shareView
The view used to render the shared content.
id< ZoomSDKShareElementDelegate > _delegate
unsigned int sharingID
The unique ID of the sharing source.
void onSharingContentStartReceiving()
Callback event the moment the user receives the shared content.
void onShareContentStartReceiving()
Callback event of sharer sending data.