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

Subclass of ZoomSDKVideoElement for preview video. More...

#include <ZoomSDKVideoContainer.h>

Inherits ZoomSDKVideoElement.

Instance Methods

(ZoomSDKError- startPreview:
 Sets whether to preview video.
Instance Methods inherited from ZoomSDKVideoElement
(id) - initWithFrame:
 Creates object of video elements for each user.
(ZoomSDKError- showVideo:
 Sets whether to show video.
(VideoRenderElementType- getElementType
 Gets the video's type render element: preview, active, or normal.
(VideoRenderDataType- getDataType
 Gets data type of video render: avatar or video.
(NSView *) - getVideoView
 Gets NSView object in the element.
(ZoomSDKError- resize:
 Resize the video view according to your requirements.
(ZoomSDKError- setResolution:
 Config the video view resolution.

Additional Inherited Members

Protected Attributes inherited from ZoomSDKVideoElement
VideoRenderElementType _elementType
VideoRenderDataType _dataType
unsigned int _userid
NSView * _videoView
NSRect _viewFrame
Properties inherited from ZoomSDKVideoElement
unsigned int userid
 The user ID for this video element.
NSView * videoView
 The view used to render video.

Detailed Description

Subclass of ZoomSDKVideoElement for preview video.

Definition at line 80 of file ZoomSDKVideoContainer.h.

Method Documentation

◆ startPreview:

- (ZoomSDKError) startPreview: (BOOL) start

Sets whether to preview video.

Parameters
startYES if starting preview, NO otherwise.
Returns
If the function succeeds, it returns ZoomSDKError_Success. Otherwise, this function returns an error.