Mac SDK
Instance Methods | Protected Attributes | Properties | List of all members
ZoomSDKShareElement Class Reference
Inheritance diagram for ZoomSDKShareElement:

Instance Methods

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

Protected Attributes

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

Properties

unsigned int userId
 
ViewShareMode viewMode
 
NSView * shareView
 
id< ZoomSDKShareElementDelegatedelegate
 

Method Documentation

◆ initWithFrame: [1/2]

- (id) initWithFrame: (NSRect)  frame

Create a sharing element.

Parameters
frameFrame of sharing view owned by the element.

◆ initWithFrame: [2/2]

- (id) initWithFrame: (NSRect)  frame

Create a share element.

Parameters
frameThe coordinates of _shareView.

◆ resize: [1/2]

- (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.

◆ resize: [2/2]

- (ZoomSDKError) resize: (NSRect)  frame

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

Parameters
frameThe coordinates of _shareView.

◆ ShowShareRender: [1/2]

- (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.

◆ ShowShareRender: [2/2]

- (ZoomSDKError) ShowShareRender: (BOOL)  show

Set whether to show the share view or not.

Parameters
showYES means to show, NO to hide.

The documentation for this class was generated from the following files: