Video SDK for MacOS API Reference
Loading...
Searching...
No Matches
ZMVideoSDKVideoCanvas.h
Go to the documentation of this file.
1
7#import <Cocoa/Cocoa.h>
8
9NS_ASSUME_NONNULL_BEGIN
10
15@interface ZMVideoSDKVideoCanvas : NSObject
19@property (nonatomic, assign, readonly) ZMVideoSDKCanvasType canvasType;
20
28- (ZMVideoSDKErrors)subscribeWithView:(NSView * _Nonnull)view aspectMode:(ZMVideoSDKVideoAspect)aspect resolution:(ZMVideoSDKResolution)resolution;
29
35- (ZMVideoSDKErrors)unSubscribeWithView:(NSView * _Nonnull)view;
36
43- (ZMVideoSDKErrors)setAspectMode:(NSView* _Nonnull)view aspect:(ZMVideoSDKVideoAspect)aspect;
44
52- (ZMVideoSDKErrors)setResolution:(NSView* _Nonnull)view resolution:(ZMVideoSDKResolution)resolution;
53@end
54NS_ASSUME_NONNULL_END
ZMVideoSDKResolution
Enumeration of render resolution.
ZMVideoSDKVideoAspect
Enumeration of the video aspect ratio.
ZMVideoSDKErrors
Enumerates all errors in the VideoSDK.
ZMVideoSDKCanvasType
Enumeration of the zoom render type.
Manages the rendering of video or screen share content in the Zoom Video SDK.
ZMVideoSDKCanvasType canvasType
The canvas type.