Video SDK for MacOS API Reference
|
Zoom Video SDK API manager. Main singleton object that controls the video session creation, event callbacks and other main features of video SDK. More...
#include <ZMVideoSDK.h>
Inherits NSObject.
Instance Methods | |
(ZMVideoSDKErrors) | - initialize: |
Initialize the Zoom Video SDK with the appropriate parameters. | |
(void) | - cleanUp |
Clean up Zoom Video SDK. | |
(void) | - addListener: |
Register a listener for session events. | |
(void) | - removeListener: |
Unregister a listener for session events. | |
(ZMVideoSDKSession *_Nullable) | - joinSession: |
Call this method to join a session with the appropriate ZMVideoSDKSessionContext parameters. When successful, the SDK will attempt to join a session. Use the callbacks in the listener to confirm whether the SDK actually joined. | |
(ZMVideoSDKErrors) | - leaveSession: |
Call this method to leave a session previously joined through joinSession method call. When successful, the SDK will attempt to leave a session. Use the callbacks in the listener to confirm whether the SDK actually left. | |
(ZMVideoSDKSession *) | - getSessionInfo |
Returns the current session information. | |
(BOOL) | - isInSession |
Check if there is an active session between participants. | |
(NSString *_Nullable) | - getSDKVersion |
Returns Zoom SDK internal version. | |
(NSString *_Nullable) | - exportLog |
Exports a log file to local disk. | |
(ZMVideoSDKErrors) | - cleanAllExportedLogs |
Cleans all exported logs. | |
(ZMVideoSDKAudioHelper *) | - getAudioHelper |
Returns an instance to manage audio controls related to the current video SDK session. | |
(ZMVideoSDKVideoHelper *) | - getVideoHelper |
Returns an instance to manage cameras and video during a video SDK session. | |
(ZMVideoSDKUserHelper *) | - getUserHelper |
Returns an instance to manage users present in a video SDK session. | |
(ZMVideoSDKShareHelper *) | - getShareHelper |
Returns an instance to manage screen sharing during a video SDK session. | |
(ZMVideoSDKLiveStreamHelper *) | - getLiveStreamHelper |
Returns an instance to manage live streaming during a video SDK session. | |
(ZMVideoSDKChatHelper *) | - getChatHelper |
Returns an instance to send and receive chat messages within video SDK session participants. | |
(ZMVideoSDKRecordingHelper *) | - getRecordingHelper |
Returns an instance to manage cloud recordings during a video SDK session. | |
(ZMVideoSDKCmdChannel *) | - getCmdChannel |
Returns an instance to use command channel features during a video SDK session. | |
(ZMVideoSDKPhoneHelper *) | - getPhoneHelper |
Returns an instance to manage phone invitations during a video SDK session. | |
(ZMVideoSDKAudioSettingHelper *) | - getAudioSettingHelper |
Returns an instance to manage audio setting during or before a video SDK session. | |
(ZMVideoSDKAudioDeviceTestHelper *) | - getAudioDeviceTestHelper |
Returns an instance to manage audio device test during or before a video SDK session. | |
(ZMVideoSDKNetworkConnectionHelper *) | - getNetworkConnectionHelper |
Returns an instance to manage network connection during or before a video SDK session. | |
(ZMVideoSDKVideoSettingHelper *) | - getVideoSettingHelper |
Get video setting helper object. | |
(ZMVideoSDKShareSettingHelper *) | - getShareSettingHelper |
Get share setting helper object. | |
(ZMVideoSDKCRCHelper *) | - getCRCHelper |
Get crc helper object. | |
(ZMVideoSDKLiveTranscriptionHelper *) | - getLiveTranscriptionHelper |
Get live transcription helper object. | |
(ZMVideoSDKIncomingLiveStreamHelper *) | - getIncomingLiveStreamHelper |
Get incoming live stream helper object. | |
(ZMVideoSDKSubSessionHelper *_Nullable) | - getSubSessionHelper |
Get the subsession helper object. | |
Class Methods | |
(ZMVideoSDK *) | + sharedVideoSDK |
Returns ZMVideoSDK instance. | |
Zoom Video SDK API manager. Main singleton object that controls the video session creation, event callbacks and other main features of video SDK.
Definition at line 210 of file ZMVideoSDK.h.
- (void) addListener: | (id< ZMVideoSDKDelegate >) | listener |
Register a listener for session events.
listener | A listener class that groups together all the callbacks related to a session. |
- (ZMVideoSDKErrors) cleanAllExportedLogs |
Cleans all exported logs.
- (void) cleanUp |
Clean up Zoom Video SDK.
- (NSString *_Nullable) exportLog |
Exports a log file to local disk.
- (ZMVideoSDKAudioDeviceTestHelper *) getAudioDeviceTestHelper |
Returns an instance to manage audio device test during or before a video SDK session.
- (ZMVideoSDKAudioHelper *) getAudioHelper |
Returns an instance to manage audio controls related to the current video SDK session.
- (ZMVideoSDKAudioSettingHelper *) getAudioSettingHelper |
Returns an instance to manage audio setting during or before a video SDK session.
- (ZMVideoSDKChatHelper *) getChatHelper |
Returns an instance to send and receive chat messages within video SDK session participants.
- (ZMVideoSDKCmdChannel *) getCmdChannel |
Returns an instance to use command channel features during a video SDK session.
- (ZMVideoSDKCRCHelper *) getCRCHelper |
Get crc helper object.
- (ZMVideoSDKIncomingLiveStreamHelper *) getIncomingLiveStreamHelper |
Get incoming live stream helper object.
- (ZMVideoSDKLiveStreamHelper *) getLiveStreamHelper |
Returns an instance to manage live streaming during a video SDK session.
- (ZMVideoSDKLiveTranscriptionHelper *) getLiveTranscriptionHelper |
Get live transcription helper object.
- (ZMVideoSDKNetworkConnectionHelper *) getNetworkConnectionHelper |
Returns an instance to manage network connection during or before a video SDK session.
- (ZMVideoSDKPhoneHelper *) getPhoneHelper |
Returns an instance to manage phone invitations during a video SDK session.
- (ZMVideoSDKRecordingHelper *) getRecordingHelper |
Returns an instance to manage cloud recordings during a video SDK session.
- (NSString *_Nullable) getSDKVersion |
Returns Zoom SDK internal version.
- (ZMVideoSDKSession *) getSessionInfo |
Returns the current session information.
- (ZMVideoSDKShareHelper *) getShareHelper |
Returns an instance to manage screen sharing during a video SDK session.
- (ZMVideoSDKShareSettingHelper *) getShareSettingHelper |
Get share setting helper object.
- (ZMVideoSDKSubSessionHelper *_Nullable) getSubSessionHelper |
Get the subsession helper object.
- (ZMVideoSDKUserHelper *) getUserHelper |
Returns an instance to manage users present in a video SDK session.
- (ZMVideoSDKVideoHelper *) getVideoHelper |
Returns an instance to manage cameras and video during a video SDK session.
- (ZMVideoSDKVideoSettingHelper *) getVideoSettingHelper |
Get video setting helper object.
- (ZMVideoSDKErrors) initialize: | (ZMVideoSDKInitParams *) | params |
Initialize the Zoom Video SDK with the appropriate parameters.
params | An initialization parameter object containing all required configuration fields. |
- (BOOL) isInSession |
Check if there is an active session between participants.
- (ZMVideoSDKSession *_Nullable) joinSession: | (ZMVideoSDKSessionContext *) | params |
Call this method to join a session with the appropriate ZMVideoSDKSessionContext parameters. When successful, the SDK will attempt to join a session. Use the callbacks in the listener to confirm whether the SDK actually joined.
params | It is a session context object, contain all params to join session. |
- (ZMVideoSDKErrors) leaveSession: | (BOOL) | end |
Call this method to leave a session previously joined through joinSession method call. When successful, the SDK will attempt to leave a session. Use the callbacks in the listener to confirm whether the SDK actually left.
end | YES if the host should end the entire session, or NO if the host should just leave the session. |
- (void) removeListener: | (id< ZMVideoSDKDelegate >) | listener |
Unregister a listener for session events.
listener | A listener class that groups together all the callbacks related to a session. |
+ (ZMVideoSDK *) sharedVideoSDK |
Returns ZMVideoSDK instance.