Video SDK for iOS API Reference
Loading...
Searching...
No Matches
ZoomVideoSDKSession Class Reference

Zoom Video SDK session. More...

#include <ZoomVideoSDKSession.h>

Inherits NSObject.

Instance Methods

(NSString *_Nullable) - getSessionName
 Gets the session's name.
 
(NSString *_Nullable) - getSessionID
 Gets the session ID.
 
(unsigned long long) - getSessionNumber
 Gets the session number.
 
(NSString *_Nullable) - getSessionPassword
 Gets the session's password.
 
(NSString *_Nullable) - getSessionPhonePasscode
 Gets the session phone passcode.
 
(NSString *_Nullable) - getSessionHostName
 Gets the host's name.
 
(ZoomVideoSDKUser *_Nullable) - getSessionHost
 Gets the session's host user object.
 
(NSArray< ZoomVideoSDKUser * > *_Nullable) - getRemoteUsers
 Gets a list of the session's remote users.
 
(ZoomVideoSDKUser *_Nullable) - getMySelf
 Gets the session's user object for myself.
 
(ZoomVideoSDKSessionAudioStatisticInfo *_Nullable) - getSessionAudioStatisticInfo
 Gets the session's audio statistic information.
 
(ZoomVideoSDKSessionASVStatisticInfo *_Nullable) - getSessionVideoStatisticInfo
 Gets the session's video statistic information.
 
(ZoomVideoSDKSessionASVStatisticInfo *_Nullable) - getSessionShareStatisticInfo
 Gets the session's screen share statistic information.
 
(BOOL) - isFileTransferEnable
 Determines whether file transfer is enabled.
 
(ZoomVideoSDKError- transferFile:
 Sends file to all users in current session.
 
(NSString *_Nullable) - getTransferFileTypeWhiteList
 Gets the list of allowed file types in transfer.
 
(unsigned long long) - getMaxTransferFileSize
 Gets the maximum size for file transfer.
 
(ZoomVideoSDKSessionType- getSessionType
 Gets the session type of this session.
 

Detailed Description

Zoom Video SDK session.

Definition at line 127 of file ZoomVideoSDKSession.h.

Method Documentation

◆ getMaxTransferFileSize

- (unsigned long long) getMaxTransferFileSize

Gets the maximum size for file transfer.

Returns
The maximum number of bytes for file transfer.

◆ getMySelf

- (ZoomVideoSDKUser *_Nullable) getMySelf

Gets the session's user object for myself.

Returns
If the function succeeds, it returns a ZoomVideoSDKUser object. Otherwise, this function fails and returns nil.

◆ getRemoteUsers

- (NSArray< ZoomVideoSDKUser * > *_Nullable) getRemoteUsers

Gets a list of the session's remote users.

Returns
If the function succeeds, it returns an NSArray of ZoomVideoSDKUser objects. Otherwise, this function fails and returns nil.

◆ getSessionAudioStatisticInfo

- (ZoomVideoSDKSessionAudioStatisticInfo *_Nullable) getSessionAudioStatisticInfo

Gets the session's audio statistic information.

Returns
If the function succeeds, it returns a ZoomVideoSDKSessionAudioStatisticInfo object. Otherwise, this function fails and returns nil.

◆ getSessionHost

- (ZoomVideoSDKUser *_Nullable) getSessionHost

Gets the session's host user object.

Returns
If the function succeeds, it returns a ZoomVideoSDKUser object. Otherwise, this function fails and returns nil.

◆ getSessionHostName

- (NSString *_Nullable) getSessionHostName

Gets the host's name.

Returns
If the function succeeds, it returns the host's name. Otherwise, this function fails and returns nil.

◆ getSessionID

- (NSString *_Nullable) getSessionID

Gets the session ID.

Returns
If the function succeeds, it returns the session ID. Otherwise, this function fails and returns nil.
Warning
Only the host can get the session ID.

◆ getSessionName

- (NSString *_Nullable) getSessionName

Gets the session's name.

Returns
If the function succeeds, it returns the session's name. Otherwise, this function fails and returns nil.

◆ getSessionNumber

- (unsigned long long) getSessionNumber

Gets the session number.

Returns
The session number.

◆ getSessionPassword

- (NSString *_Nullable) getSessionPassword

Gets the session's password.

Returns
If the function succeeds, it returns the session's password. Otherwise, this function fails and returns nil.

◆ getSessionPhonePasscode

- (NSString *_Nullable) getSessionPhonePasscode

Gets the session phone passcode.

Returns
If the function succeeds, it returns the session phone passcode. Otherwise, this function fails and returns nil.

◆ getSessionShareStatisticInfo

- (ZoomVideoSDKSessionASVStatisticInfo *_Nullable) getSessionShareStatisticInfo

Gets the session's screen share statistic information.

Returns
If the function succeeds, it returns a ZoomVideoSDKSessionASVStatisticInfo object. Otherwise, this function fails and returns nil.

◆ getSessionType

- (ZoomVideoSDKSessionType) getSessionType

Gets the session type of this session.

Returns
The session type.

◆ getSessionVideoStatisticInfo

- (ZoomVideoSDKSessionASVStatisticInfo *_Nullable) getSessionVideoStatisticInfo

Gets the session's video statistic information.

Returns
If the function succeeds, it returns a ZoomVideoSDKSessionASVStatisticInfo object. Otherwise, this function fails and returns nil.

◆ getTransferFileTypeWhiteList

- (NSString *_Nullable) getTransferFileTypeWhiteList

Gets the list of allowed file types in transfer.

Returns
If the function succeeds, it returns the value of allowed file types in transfer, comma-separated if there are multiple values. Otherwise, this function fails and returns nil. Exe files are by default forbidden from being transferred.

◆ isFileTransferEnable

- (BOOL) isFileTransferEnable

Determines whether file transfer is enabled.

Returns
YES if file transfer is enabled. Otherwise, NO.

◆ transferFile:

- (ZoomVideoSDKError) transferFile: (NSString *_Nullable) filePath

Sends file to all users in current session.

Parameters
filePathThe local path of the file.
Returns
If the function succeeds, it returns Errors_Success. Otherwise, this function returns an error.
Warning
This interface will be related with chat privilege. SeeZoomVideoSDKChatPrivilegeType}.