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

Public Member Functions

 ~V2TIMSendCallback () override
 
virtual void OnProgress (uint32_t progress)=0
 
virtual void OnSuccess (const V2TIMMessage &value)=0
 
virtual void OnError (int error_code, const V2TIMString &error_message)=0
 

Constructor & Destructor Documentation

◆ ~V2TIMSendCallback()

~V2TIMSendCallback ( )
inlineoverride

Member Function Documentation

◆ OnProgress()

virtual void OnProgress ( uint32_t  progress)
pure virtual

File message sending progress

Attention
Progress

◆ OnSuccess()

virtual void OnSuccess ( const V2TIMMessage value)
pure virtualinherited

Callback on success,with parameter of type T

◆ 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