Video SDK for Windows API Reference
Loading...
Searching...
No Matches
IZoomVideoSDKSession Class Referenceabstract

Session information interface. More...

#include <zoom_video_sdk_session_info_interface.h>

Public Member Functions

virtual uint64_t getSessionNumber ()=0
 Get the current session number.
 
virtual const zchar_tgetSessionName ()=0
 Get the session name.
 
virtual const zchar_tgetSessionPassword ()=0
 Get the session's password.
 
virtual const zchar_tgetSessionPhonePasscode ()=0
 Get the session phone passcode.
 
virtual const zchar_tgetSessionID ()=0
 Get the session ID.
 
virtual const zchar_tgetSessionHostName ()=0
 Get the host's name.
 
virtual IZoomVideoSDKUsergetSessionHost ()=0
 Get the session's host user object.
 
virtual IVideoSDKVector< IZoomVideoSDKUser * > * getRemoteUsers ()=0
 Get a list of the session's remote users.
 
virtual IZoomVideoSDKUsergetMyself ()=0
 Get the session's user object for myself.
 
virtual bool IsValidUser (IZoomVideoSDKUser *pUser)=0
 Determines if a user object is valid.
 
virtual ZoomVideoSDKErrors getSessionAudioStatisticInfo (ZoomVideoSDKSessionAudioStatisticInfo &send_info, ZoomVideoSDKSessionAudioStatisticInfo &recv_info)=0
 Get session's audio statistic information.
 
virtual ZoomVideoSDKErrors getSessionVideoStatisticInfo (ZoomVideoSDKSessionASVStatisticInfo &send_info, ZoomVideoSDKSessionASVStatisticInfo &recv_info)=0
 Get session's video statistic information.
 
virtual ZoomVideoSDKErrors getSessionShareStatisticInfo (ZoomVideoSDKSessionASVStatisticInfo &send_info, ZoomVideoSDKSessionASVStatisticInfo &recv_info)=0
 Get session's share statistic information.
 
virtual bool isFileTransferEnable ()=0
 Determines whether file transfer is enabled.
 
virtual ZoomVideoSDKErrors transferFile (const zchar_t *filePath)=0
 Send file to all users in current session.
 
virtual const zchar_tgetTransferFileTypeWhiteList ()=0
 Get the list of allowed file types in transfer.
 
virtual uint64_t getMaxTransferFileSize ()=0
 Get the maximum size for file transfer.
 
virtual ZoomVideoSDKSessionType getSessionType ()=0
 Get the session type of this session.
 

Detailed Description

Session information interface.

Definition at line 81 of file zoom_video_sdk_session_info_interface.h.

Member Function Documentation

◆ getMaxTransferFileSize()

virtual uint64_t IZoomVideoSDKSession::getMaxTransferFileSize ( )
pure virtual

Get the maximum size for file transfer.

Returns
The maximum number of bytes for file transfer

◆ getMyself()

virtual IZoomVideoSDKUser * IZoomVideoSDKSession::getMyself ( )
pure virtual

Get the session's user object for myself.

Returns
If the function succeeds, the return value is the myself object. Otherwise, this function fails and returns nullptr.

◆ getRemoteUsers()

virtual IVideoSDKVector< IZoomVideoSDKUser * > * IZoomVideoSDKSession::getRemoteUsers ( )
pure virtual

Get a list of the session's remote users.

Returns
If the function succeeds, the return value is the remote users list. Otherwise, this function fails and returns nullptr.

◆ getSessionAudioStatisticInfo()

virtual ZoomVideoSDKErrors IZoomVideoSDKSession::getSessionAudioStatisticInfo ( ZoomVideoSDKSessionAudioStatisticInfo & send_info,
ZoomVideoSDKSessionAudioStatisticInfo & recv_info )
pure virtual

Get session's audio statistic information.

Parameters
[out]send_infoAudio send information refer.
[out]recv_infoAudio receive information refer.
Returns
If the function succeeds, the return value is ZoomVideoSDKErrors_Success. Otherwise, this function returns an error.

◆ getSessionHost()

virtual IZoomVideoSDKUser * IZoomVideoSDKSession::getSessionHost ( )
pure virtual

Get the session's host user object.

Returns
If the function succeeds, the return value is the session host user object. Otherwise, this function fails and returns nullptr.

◆ getSessionHostName()

virtual const zchar_t * IZoomVideoSDKSession::getSessionHostName ( )
pure virtual

Get the host's name.

Returns
If the function succeeds, the return value is the session host name. Otherwise, this function fails and returns nullptr.

◆ getSessionID()

virtual const zchar_t * IZoomVideoSDKSession::getSessionID ( )
pure virtual

Get the session ID.

Returns
If the function succeeds, the return value is the session ID. Otherwise, this function fails and returns nullptr.
Note
This interface is only valid for the host.

◆ getSessionName()

virtual const zchar_t * IZoomVideoSDKSession::getSessionName ( )
pure virtual

Get the session name.

Returns
If the function succeeds, the return value is the session name. Otherwise, this function fails and returns nullptr.

◆ getSessionNumber()

virtual uint64_t IZoomVideoSDKSession::getSessionNumber ( )
pure virtual

Get the current session number.

Returns
If the function succeeds, the return value is the current meeting number. Otherwise, this function fails and returns ZERO(0).

◆ getSessionPassword()

virtual const zchar_t * IZoomVideoSDKSession::getSessionPassword ( )
pure virtual

Get the session's password.

Returns
If the function succeeds, the return value is the session password. Otherwise, this function fails and returns nullptr.

◆ getSessionPhonePasscode()

virtual const zchar_t * IZoomVideoSDKSession::getSessionPhonePasscode ( )
pure virtual

Get the session phone passcode.

Returns
If the function succeeds, the return value is the session phone passcode. Otherwise, this function fails and returns nullptr.

◆ getSessionShareStatisticInfo()

virtual ZoomVideoSDKErrors IZoomVideoSDKSession::getSessionShareStatisticInfo ( ZoomVideoSDKSessionASVStatisticInfo & send_info,
ZoomVideoSDKSessionASVStatisticInfo & recv_info )
pure virtual

Get session's share statistic information.

Parameters
[out]send_infoShare send information refer.
[out]recv_infoShare receive information refer.
Returns
If the function succeeds, the return value is ZoomVideoSDKErrors_Success. Otherwise, this function returns an error.

◆ getSessionType()

virtual ZoomVideoSDKSessionType IZoomVideoSDKSession::getSessionType ( )
pure virtual

Get the session type of this session.

Returns
The session type.

◆ getSessionVideoStatisticInfo()

virtual ZoomVideoSDKErrors IZoomVideoSDKSession::getSessionVideoStatisticInfo ( ZoomVideoSDKSessionASVStatisticInfo & send_info,
ZoomVideoSDKSessionASVStatisticInfo & recv_info )
pure virtual

Get session's video statistic information.

Parameters
[out]send_infoVideo send information refer.
[out]recv_infoVideo receive information refer.
Returns
If the function succeeds, the return value is ZoomVideoSDKErrors_Success. Otherwise, this function returns an error.

◆ getTransferFileTypeWhiteList()

virtual const zchar_t * IZoomVideoSDKSession::getTransferFileTypeWhiteList ( )
pure virtual

Get the list of allowed file types in transfer.

Returns
The value of allowed file types in transfer, comma-separated if there are multiple values.Exe files are by default forbidden from being transferred.

◆ isFileTransferEnable()

virtual bool IZoomVideoSDKSession::isFileTransferEnable ( )
pure virtual

Determines whether file transfer is enabled.

Returns
true if file transfer is enabled. Otherwise, false.

◆ IsValidUser()

virtual bool IZoomVideoSDKSession::IsValidUser ( IZoomVideoSDKUser * pUser)
pure virtual

Determines if a user object is valid.

Parameters
pUserThe user object pointer.
Returns
true if the user object is valid. Otherwise, false.

◆ transferFile()

virtual ZoomVideoSDKErrors IZoomVideoSDKSession::transferFile ( const zchar_t * filePath)
pure virtual

Send file to all users in current session.

Parameters
filePathThe local path of the file
Returns
If the function succeeds, the return value is ZoomVideoSDKErrors_Success. Otherwise, this function returns an error.