Meeting SDK for Linux API Reference
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ISDKFileReceiver Class Referenceabstract

#include <meeting_chat_interface.h>

Public Member Functions

virtual SDKFileTransferInfoGetTransferInfo ()=0
 
virtual unsigned int GetSender ()=0
 Get file sender's user id.
 
virtual SDKError CancelReceive ()=0
 Cancel the file receive.
 
virtual SDKError StartReceive (const zchar_t *path)=0
 Start receive the file.
 
virtual ~ISDKFileReceiver ()
 

Detailed Description

Definition at line 445 of file meeting_chat_interface.h.

Constructor & Destructor Documentation

◆ ~ISDKFileReceiver()

virtual ISDKFileReceiver::~ISDKFileReceiver ( )
inlinevirtual

Definition at line 465 of file meeting_chat_interface.h.

465{};

Member Function Documentation

◆ CancelReceive()

virtual SDKError ISDKFileReceiver::CancelReceive ( )
pure virtual

Cancel the file receive.

Returns
If the function succeeds, the return value is SDKErr_Success. Otherwise failed. To get extended error information, see SDKError enum.

◆ GetSender()

virtual unsigned int ISDKFileReceiver::GetSender ( )
pure virtual

Get file sender's user id.

Returns
The receiver user id. -1 specify the internel error of get user id. 0 specify the file send to all.

◆ GetTransferInfo()

virtual SDKFileTransferInfo * ISDKFileReceiver::GetTransferInfo ( )
pure virtual

◆ StartReceive()

virtual SDKError ISDKFileReceiver::StartReceive ( const zchar_t * path)
pure virtual

Start receive the file.

Parameters
pathThe path to receive the file.
Returns
If the function succeeds, the return value is SDKErr_Success. Otherwise failed. To get extended error information, see SDKError enum.