Mac SDK
Instance Methods | Protected Attributes | Properties | List of all members
ZoomSDKVideoElement Class Reference
Inheritance diagram for ZoomSDKVideoElement:
ZoomSDKActiveVideoElement ZoomSDKNormalVideoElement ZoomSDKPreViewVideoElement

Instance Methods

(id) - initWithFrame:
 Create object of video elements for each user. More...
 
(ZoomSDKError) - showVideo:
 Set whether to show video. More...
 
(VideoRenderElementType) - getElementType
 Get the type of the video render element: preview/active/normal. More...
 
(VideoRenderDataType) - getDataType
 Get data type of video render: avatar/video. More...
 
(NSView *) - getVideoView
 Get NSView object in the element.
More...
 
(ZoomSDKError) - resize:
 Resize the video view according to your requirements. More...
 

Protected Attributes

VideoRenderElementType _elementType
 
VideoRenderDataType _dataType
 
unsigned int _userid
 
NSView * _videoView
 
NSRect _viewFrame
 

Properties

unsigned int userid
 
NSView * videoView
 

Method Documentation

◆ getDataType

- (VideoRenderDataType) getDataType

Get data type of video render: avatar/video.

Returns
The data type of the video render.

◆ getElementType

- (VideoRenderElementType) getElementType

Get the type of the video render element: preview/active/normal.

Returns
The type of the video render element.

◆ getVideoView

- (NSView*) getVideoView

Get NSView object in the element.

Returns
The point of the video view.

◆ initWithFrame:

- (id) initWithFrame: (NSRect)  rect

Create object of video elements for each user.

Parameters
rectFrame of video view.

◆ resize:

- (ZoomSDKError) resize: (NSRect)  frame

Resize the video view according to your requirements.

Parameters
frameCustom frame of video view.
Returns
If the function succeeds, it will return ZoomSDKError_Success. Otherwise failed.

◆ showVideo:

- (ZoomSDKError) showVideo: (BOOL)  show

Set whether to show video.

Parameters
showYES means displaying video, otherwise not.
Returns
If the function succeeds, it will return ZoomSDKError_Success. Otherwise failed.

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