|
Meeting SDK for macOS API Reference
|
Interface for video element rendering in custom UI. More...
#include <ZoomSDKVideoContainer.h>
Inherits NSObject.
Inherited by ZoomSDKActiveVideoElement, ZoomSDKNormalVideoElement, and ZoomSDKPreViewVideoElement.
Instance Methods | |
| (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. | |
Protected Attributes | |
| VideoRenderElementType | _elementType |
| VideoRenderDataType | _dataType |
| unsigned int | _userid |
| NSView * | _videoView |
| NSRect | _viewFrame |
Properties | |
| unsigned int | userid |
| The user ID for this video element. | |
| NSView * | videoView |
| The view used to render video. | |
Interface for video element rendering in custom UI.
Definition at line 18 of file ZoomSDKVideoContainer.h.
| - (VideoRenderDataType) getDataType |
Gets data type of video render: avatar or video.
References getDataType.
Referenced by getDataType.
| - (VideoRenderElementType) getElementType |
Gets the video's type render element: preview, active, or normal.
References getElementType.
Referenced by getElementType.
| - (NSView *) getVideoView |
Gets NSView object in the element.
References getVideoView.
Referenced by getVideoView.
| - (id) initWithFrame: | (NSRect) | rect |
Creates object of video elements for each user.
| rect | Frame of video view. |
| - (ZoomSDKError) resize: | (NSRect) | frame |
Resize the video view according to your requirements.
| frame | Custom frame of video view. |
| - (ZoomSDKError) setResolution: | (ZoomSDKVideoRenderResolution) | resolution |
Config the video view resolution.
| resolution | Custom resolution of video view. |
| - (ZoomSDKError) showVideo: | (BOOL) | show |
Sets whether to show video.
| show | YES if displaying video, NO otherwise. |
|
protected |
Definition at line 21 of file ZoomSDKVideoContainer.h.
|
protected |
Definition at line 20 of file ZoomSDKVideoContainer.h.
|
protected |
Definition at line 22 of file ZoomSDKVideoContainer.h.
|
protected |
Definition at line 23 of file ZoomSDKVideoContainer.h.
|
protected |
Definition at line 24 of file ZoomSDKVideoContainer.h.
|
readwritenonatomicassign |
The user ID for this video element.
Definition at line 29 of file ZoomSDKVideoContainer.h.
|
readwritenonatomicretain |
The view used to render video.
Definition at line 33 of file ZoomSDKVideoContainer.h.