Meeting SDK for macOS API Reference
Loading...
Searching...
No Matches
ZoomSDKShareElement Class Reference

#include <ZoomSDKShareContainer.h>

Inherits NSObject.

Instance Methods

(id) - initWithFrame:
 Create a sharing element.
 
(ZoomSDKError- resize:
 Resize the frame of the shared view owned by this element.
 
(ZoomSDKError- ShowShareRender:
 Set whether to show the share view or not.
 

Protected Attributes

unsigned int _sharingID
 
ViewShareMode _viewMode
 
NSView * _shareView
 
id< ZoomSDKShareElementDelegate_delegate
 
NSRect _frame
 

Properties

unsigned int sharingID
 
ViewShareMode viewMode
 
NSView * shareView
 
id< ZoomSDKShareElementDelegatedelegate
 

Detailed Description

Definition at line 18 of file ZoomSDKShareContainer.h.

Method Documentation

◆ initWithFrame:

- (id) initWithFrame: (NSRect) frame

Create a sharing element.

Parameters
frameFrame of sharing view owned by the element.

◆ resize:

- (ZoomSDKError) resize: (NSRect) frame

Resize the frame of the shared view owned by this element.

Parameters
frameThe coordinates of _shareview.
Returns
If the function succeeds, it will return ZoomSDKError_Success. Otherwise failed.

◆ ShowShareRender:

- (ZoomSDKError) ShowShareRender: (BOOL) show

Set whether to show the share view or not.

Parameters
showYES means to show, NO to hide.
Returns
If the function succeeds, it will return ZoomSDKError_Success. Otherwise failed.

Field Documentation

◆ _delegate

- (id<ZoomSDKShareElementDelegate>) _delegate
protected

Definition at line 23 of file ZoomSDKShareContainer.h.

◆ _frame

- (NSRect) _frame
protected

Definition at line 24 of file ZoomSDKShareContainer.h.

◆ _shareView

- (NSView*) _shareView
protected

Definition at line 22 of file ZoomSDKShareContainer.h.

◆ _sharingID

- (unsigned int) _sharingID
protected

Definition at line 20 of file ZoomSDKShareContainer.h.

◆ _viewMode

- (ViewShareMode) _viewMode
protected

Definition at line 21 of file ZoomSDKShareContainer.h.

Property Documentation

◆ delegate

- (id<ZoomSDKShareElementDelegate>) delegate
readwritenonatomicassign

Definition at line 29 of file ZoomSDKShareContainer.h.

◆ shareView

- (NSView*) shareView
readwritenonatomicassign

Definition at line 28 of file ZoomSDKShareContainer.h.

◆ sharingID

- (unsigned int) sharingID
readwritenonatomicassign

Definition at line 26 of file ZoomSDKShareContainer.h.

◆ viewMode

- (ViewShareMode) viewMode
readwritenonatomicassign

Definition at line 27 of file ZoomSDKShareContainer.h.