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

Public Member Functions

 V2TIMSimpleMsgListener ()
 
virtual ~V2TIMSimpleMsgListener ()
 
virtual void OnRecvC2CTextMessage (const V2TIMString &msgID, const V2TIMUserFullInfo &sender, const V2TIMString &text)
 
virtual void OnRecvC2CCustomMessage (const V2TIMString &msgID, const V2TIMUserFullInfo &sender, const V2TIMBuffer &customData)
 
virtual void OnRecvGroupTextMessage (const V2TIMString &msgID, const V2TIMString &groupID, const V2TIMGroupMemberFullInfo &sender, const V2TIMString &text)
 
virtual void OnRecvGroupCustomMessage (const V2TIMString &msgID, const V2TIMString &groupID, const V2TIMGroupMemberFullInfo &sender, const V2TIMBuffer &customData)
 

Constructor & Destructor Documentation

◆ V2TIMSimpleMsgListener()

◆ ~V2TIMSimpleMsgListener()

virtual ~V2TIMSimpleMsgListener ( )
virtual

Member Function Documentation

◆ OnRecvC2CTextMessage()

virtual void OnRecvC2CTextMessage ( const V2TIMString msgID,
const V2TIMUserFullInfo sender,
const V2TIMString text 
)
inlinevirtual

Received a one-to-one text message

◆ OnRecvC2CCustomMessage()

virtual void OnRecvC2CCustomMessage ( const V2TIMString msgID,
const V2TIMUserFullInfo sender,
const V2TIMBuffer customData 
)
inlinevirtual

Received a one-to-one custom (signaling) message

◆ OnRecvGroupTextMessage()

virtual void OnRecvGroupTextMessage ( const V2TIMString msgID,
const V2TIMString groupID,
const V2TIMGroupMemberFullInfo sender,
const V2TIMString text 
)
inlinevirtual

Received a group text message

◆ OnRecvGroupCustomMessage()

virtual void OnRecvGroupCustomMessage ( const V2TIMString msgID,
const V2TIMString groupID,
const V2TIMGroupMemberFullInfo sender,
const V2TIMBuffer customData 
)
inlinevirtual

Received a group custom (signaling) message