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

#include <ZoomSDKVideoContainer.h>

Inherits ZoomSDKVideoElement.

Instance Methods

(ZoomSDKError- startPreview:
 Set whether to preview video.
 
- Instance Methods inherited from ZoomSDKVideoElement
(id) - initWithFrame:
 Create object of video elements for each user.
 
(ZoomSDKError- showVideo:
 Set whether to show video.
 
(VideoRenderElementType- getElementType
 Get the type of the video render element: preview/active/normal.
 
(VideoRenderDataType- getDataType
 Get data type of video render: avatar/video.
 
(NSView *) - getVideoView
 Get 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
 
NSView * videoView
 

Detailed Description

Definition at line 62 of file ZoomSDKVideoContainer.h.

Method Documentation

◆ startPreview:

- (ZoomSDKError) startPreview: (BOOL) start

Set whether to preview video.

Parameters
startYES means starting preview, otherwise not.
Returns
If the function succeeds, it will return ZoomSDKError_Success. Otherwise failed.