IMSDK
IM features a comprehensive suite of solutions including global access, one-to-one chat, group chat, message push, profile and relationship chain hosting, and account authentication. It also provides complete app access and backend management APIs.
V2TIMDownloadCallbackabstract

Detailed Description

Definition of V2TIMDownloadCallback.

Public Member Functions

 ~V2TIMDownloadCallback () override
 
virtual void OnDownLoadProgress (uint64_t currentSize, uint64_t totalSize)=0
 
virtual void OnSuccess ()=0
 
virtual void OnError (int error_code, const V2TIMString &error_message)=0
 

Constructor & Destructor Documentation

◆ ~V2TIMDownloadCallback()

~V2TIMDownloadCallback ( )
inlineoverride

Member Function Documentation

◆ OnDownLoadProgress()

virtual void OnDownLoadProgress ( uint64_t  currentSize,
uint64_t  totalSize 
)
pure virtual

File download progress

Attention
Progress information

◆ OnSuccess()

virtual void OnSuccess ( )
pure virtualinherited

Callback on success

◆ OnError()

virtual void OnError ( int  error_code,
const V2TIMString error_message 
)
pure virtualinherited

Callback on failure

Parameters
error_codeError code (see the error code table for details)
error_messageError description