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.

References getMaxTransferFileSize.

Referenced by getMaxTransferFileSize.

◆ 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.

References getMySelf.

Referenced by getMySelf.

◆ 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.

References getRemoteUsers.

Referenced by getRemoteUsers.

◆ 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.

References getSessionAudioStatisticInfo.

Referenced by getSessionAudioStatisticInfo.

◆ 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.

References getSessionHost.

Referenced by getSessionHost.

◆ 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.

References getSessionHostName.

Referenced by getSessionHostName.

◆ 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.

References getSessionID.

Referenced by getSessionID.

◆ 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.

References getSessionName.

Referenced by getSessionName.

◆ getSessionNumber

- (unsigned long long) getSessionNumber

Gets the session number.

Returns
The session number.

References getSessionNumber.

Referenced by getSessionNumber.

◆ 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.

References getSessionPassword.

Referenced by getSessionPassword.

◆ 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.

References getSessionPhonePasscode.

Referenced by getSessionPhonePasscode.

◆ 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.

References getSessionShareStatisticInfo.

Referenced by getSessionShareStatisticInfo.

◆ getSessionType

- (ZoomVideoSDKSessionType) getSessionType

Gets the session type of this session.

Returns
The session type.

References getSessionType.

Referenced by getSessionType.

◆ 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.

References getSessionVideoStatisticInfo.

Referenced by getSessionVideoStatisticInfo.

◆ 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.

References getTransferFileTypeWhiteList.

Referenced by getTransferFileTypeWhiteList.

◆ isFileTransferEnable

- (BOOL) isFileTransferEnable

Determines whether file transfer is enabled.

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

References isFileTransferEnable.

Referenced by isFileTransferEnable.

◆ 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}.