Video SDK for iOS API Reference
Loading...
Searching...
No Matches
ZoomVideoSDK.h
Go to the documentation of this file.
1
6#import <UIKit/UIKit.h>
7#import <Foundation/Foundation.h>
8#import <ZoomVideoSDK/ZoomVideoSDKSession.h>
9#import <ZoomVideoSDK/ZoomVideoSDKUser.h>
10#import <ZoomVideoSDK/ZoomVideoSDKDelegate.h>
11#import <ZoomVideoSDK/ZoomVideoSDKConstants.h>
12#import <ZoomVideoSDK/ZoomVideoSDKAudioHelper.h>
13#import <ZoomVideoSDK/ZoomVideoSDKVideoHelper.h>
14#import <ZoomVideoSDK/ZoomVideoSDKUserHelper.h>
15#import <ZoomVideoSDK/ZoomVideoSDKVideoCanvas.h>
16#import <ZoomVideoSDK/ZoomVideoSDKRawDataPipe.h>
17#import <ZoomVideoSDK/ZoomVideoSDKShareHelper.h>
18#import <ZoomVideoSDK/ZoomVideoSDKLiveStreamHelper.h>
19#import <ZoomVideoSDK/ZoomVideoSDKChatHelper.h>
20#import <ZoomVideoSDK/ZoomVideoSDKPhoneHelper.h>
21#import <ZoomVideoSDK/ZoomVideoSDKCmdChannel.h>
22#import <ZoomVideoSDK/ZoomVideoSDKRecordingHelper.h>
23#import <ZoomVideoSDK/ZoomVideoSDKAudioSettingHelper.h>
24#import <ZoomVideoSDK/ZoomVideoSDKTestAudioDeviceHelper.h>
25#import <ZoomVideoSDK/ZoomVideoSDKLiveTranscriptionHelper.h>
26#import <ZoomVideoSDK/ZoomVideoSDKNetworkConnectionHelper.h>
27#import <ZoomVideoSDK/ZoomVideoSDKVirtualBackgroundHelper.h>
28#import <ZoomVideoSDK/ZoomVideoSDKCRCHelper.h>
29#import <ZoomVideoSDK/ZoomVideoSDKMaskHelper.h>
30#import <ZoomVideoSDK/ZoomVideoSDKRemoteCameraControlHelper.h>
31#import <ZoomVideoSDK/ZoomVideoSDKSubSessionHelper.h>
32#import <ZoomVideoSDK/ZoomVideoSDKWhiteboardHelper.h>
33#import <ZoomVideoSDK/ZoomVideoSDKBroadcastStreamingHelper.h>
38@interface ZoomVideoSDKExtendParams : NSObject
42@property (nonatomic, copy) NSString * _Nullable speakerTestFilePath;
43
47@property (nonatomic, assign) NSInteger wrapperType;
48
53
54@end
55
60@interface ZoomVideoSDKInitParams : NSObject
64@property (nonatomic, copy) NSString * _Nullable domain;
68@property (nonatomic, copy) NSString * _Nullable logFilePrefix;
72@property (nonatomic, copy) NSString * _Nullable appGroupId;
76@property (nonatomic, assign) BOOL enableLog;
80@property (nonatomic, assign) ZoomVideoSDKRawDataMemoryMode videoRawdataMemoryMode;
84@property (nonatomic, assign) ZoomVideoSDKRawDataMemoryMode shareRawdataMemoryMode;
88@property (nonatomic, assign) ZoomVideoSDKRawDataMemoryMode audioRawdataMemoryMode;
92@property (nonatomic, strong) ZoomVideoSDKExtendParams * _Nullable extendParam;
93@end
94
99@interface ZoomVideoSDKVideoOptions : NSObject
100
104@property (assign, nonatomic) BOOL localVideoOn;
108@property (assign, nonatomic) BOOL multitaskingCameraAccessEnabled;
109
110@end
111
116@interface ZoomVideoSDKAudioOptions : NSObject
117
121@property (assign, nonatomic) BOOL connect;
122
126@property (assign, nonatomic) BOOL mute;
127
131@property (assign, nonatomic) BOOL isMyVoiceInMix;
132
136@property (nonatomic, assign) BOOL autoAdjustSpeakerVolume;
137@end
138
143@interface ZoomVideoSDKSessionContext : NSObject
149@property (nonatomic, copy) NSString * _Nullable sessionName;
153@property (nonatomic, copy) NSString * _Nullable sessionPassword;
157@property (nonatomic, copy) NSString * _Nullable userName;
161@property (nonatomic, copy) NSString * _Nullable token;
166@property (nonatomic, assign) NSInteger sessionIdleTimeoutMins;
170@property (nonatomic, assign) BOOL enable5GHighBandWidth;
174@property (nonatomic, strong) ZoomVideoSDKAudioOptions * _Nullable audioOption;
178@property (nonatomic, strong) ZoomVideoSDKVideoOptions * _Nullable videoOption;
179
183@property (weak, nonatomic) id<ZoomVideoSDKVideoSource> _Nullable externalVideoSourceDelegate;
184
188@property (weak, nonatomic) id<ZoomVideoSDKVideoSourcePreProcessor> _Nullable preProcessorDelegate;
189
193@property (weak, nonatomic) id<ZoomVideoSDKVirtualAudioMic> _Nullable virtualAudioMicDelegate;
194
198@property (weak, nonatomic) id<ZoomVideoSDKVirtualAudioSpeaker> _Nullable virtualAudioSpeakerDelegate;
199@end
200
207@interface ZoomVideoSDK : NSObject
208
212@property (weak, nonatomic) id<ZoomVideoSDKDelegate> _Nullable delegate;
213
217+ (ZoomVideoSDK * _Nullable)shareInstance;
218
225- (ZoomVideoSDKError)initialize:(ZoomVideoSDKInitParams * _Nonnull)context;
226
232- (ZoomVideoSDKError)cleanup;
233
239- (ZoomVideoSDKSession * _Nullable)joinSession:(ZoomVideoSDKSessionContext * _Nonnull)context;
240
247- (ZoomVideoSDKError)leaveSession:(BOOL)end;
248
253- (ZoomVideoSDKSession * _Nullable)getSession;
254
259- (BOOL)isInSession;
260
265- (NSString * _Nullable)getSDKVersion;
266
271- (NSString * _Nullable)exportLog;
272
277- (ZoomVideoSDKError)cleanAllExportedLogs;
282- (ZoomVideoSDKAudioHelper * _Nullable)getAudioHelper;
283
288- (ZoomVideoSDKVideoHelper * _Nullable)getVideoHelper;
289
294- (ZoomVideoSDKUserHelper * _Nullable)getUserHelper;
295
300- (ZoomVideoSDKShareHelper * _Nullable)getShareHelper;
301
306- (ZoomVideoSDKLiveStreamHelper * _Nullable)getLiveStreamHelper;
307
312- (ZoomVideoSDKIncomingLiveStreamHelper * _Nullable)getIncomingLiveStreamHelper;
313
318- (ZoomVideoSDKChatHelper * _Nullable)getChatHelper;
319
324- (ZoomVideoSDKPhoneHelper * _Nullable)getPhoneHelper;
325
330- (ZoomVideoSDKCmdChannel * _Nullable)getCmdChannel;
331
336- (ZoomVideoSDKRecordingHelper * _Nullable)getRecordingHelper;
337
342- (ZoomVideoSDKAudioSettingHelper * _Nullable)getAudioSettingHelper;
343
348- (ZoomVideoSDKTestAudioDeviceHelper * _Nullable)getTestAudioDeviceHelper;
349
354- (ZoomVideoSDKLiveTranscriptionHelper * _Nullable)getLiveTranscriptionHelper;
355
360- (ZoomVideoSDKVirtualBackgroundHelper * _Nullable)getVirtualBackgroundHelper;
361
366- (ZoomVideoSDKCRCHelper * _Nullable)getCRCHelper;
367
372- (ZoomVideoSDKMaskHelper * _Nullable)getMaskHelper;
373
378- (ZoomVideoSDKSubSessionHelper * _Nullable)getsubSessionHelper;
379
384-(ZoomVideoSDKSessionType)getSessionType;
385
390- (ZoomVideoSDKBroadcastStreamingHelper *_Nullable)getBroadcastStreamingHelper;
396- (ZoomVideoSDKBroadcastStreamingViewerHelper * _Nullable)getBroadcastStreamingViewerHelper;
397
402- (ZoomVideoSDKWhiteboardHelper * _Nullable)getWhiteboardHelper API_UNAVAILABLE(visionos);
403
404@end
ZoomVideoSDKPreferVideoResolution
Enumeration of preferred video resolution in Zoom Video SDK.
ZoomVideoSDKRawDataMemoryMode
Enumeration of memory modes for raw data handling.
ZoomVideoSDKSessionType
Enumeration of session type.
ZoomVideoSDKError
Enumerates all errors in the VideoSDK.
A class to operate the audio action.
The audio option of join session.
Helper interface for Cloud Room Connector (CRC) features.
A class to operate the instant message in session.
The command channel, allows users to send commands or data (such as plain text or a binary encoded in...
ZoomVideoSDK extend params.
ZoomVideoSDKPreferVideoResolution preferVideoResolution
Prefer video resolution.
NSInteger wrapperType
Wrapper type.
NSString *_Nullable speakerTestFilePath
Audio speaker test file path, only support mp3 format.The size cannot exceed 1M.
Zoom Video SDK API manager. Main singleton object that controls the video session creation,...
Incoming live stream helper interface.
Parameter class use to initialize the ZoomVideoSDK.
A class to operate the live stream.
Provides methods for controlling and interacting with live transcription.
The helper to set the video mask.
Provides methods for managing phone-related session features such as dial-in and phone invites.
Class for using cloud recording in the session. See[ZoomVideoSDK.h#getRecordingHelper].
A Class contains the session information.
Zoom Video SDK session.
Share control interface.
User control interface.
An interface to control video and manage cameras during a video session.
The video option of join session.
The whiteboard helper interface.