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

Public Member Functions

 ~V2TIMCallback () override
 
virtual void OnSuccess ()=0
 
virtual void OnError (int error_code, const V2TIMString &error_message)=0
 

Constructor & Destructor Documentation

◆ ~V2TIMCallback()

~V2TIMCallback ( )
inlineoverride

Member Function Documentation

◆ OnSuccess()

virtual void OnSuccess ( )
pure virtual

Callback on success

◆ OnError()

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

Callback on failure

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