|
virtual | ~V2TIMConversationManager () |
|
virtual void | AddConversationListener (V2TIMConversationListener *listener)=0 |
|
virtual void | RemoveConversationListener (V2TIMConversationListener *listener)=0 |
|
virtual void | GetConversationList (uint64_t nextSeq, uint32_t count, V2TIMValueCallback< V2TIMConversationResult > *callback)=0 |
|
virtual void | GetConversation (const V2TIMString &conversationID, V2TIMValueCallback< V2TIMConversation > *callback)=0 |
|
virtual void | GetConversationList (const V2TIMStringVector &conversationIDList, V2TIMValueCallback< V2TIMConversationVector > *callback)=0 |
|
virtual void | GetConversationListByFilter (const V2TIMConversationListFilter &filter, uint64_t nextSeq, uint32_t count, V2TIMValueCallback< V2TIMConversationResult > *callback)=0 |
|
virtual void | DeleteConversation (const V2TIMString &conversationID, V2TIMCallback *callback)=0 |
|
virtual void | DeleteConversationList (const V2TIMStringVector &conversationIDList, bool clearMessage, V2TIMValueCallback< V2TIMConversationOperationResultVector > *callback)=0 |
|
virtual void | SetConversationDraft (const V2TIMString &conversationID, const V2TIMString &draftText, V2TIMCallback *callback)=0 |
|
virtual void | SetConversationCustomData (const V2TIMStringVector &conversationIDList, const V2TIMBuffer &customData, V2TIMValueCallback< V2TIMConversationOperationResultVector > *callback)=0 |
|
virtual void | PinConversation (const V2TIMString &conversationID, bool isPinned, V2TIMCallback *callback)=0 |
|
virtual void | MarkConversation (const V2TIMStringVector &conversationIDList, uint64_t markType, bool enableMark, V2TIMValueCallback< V2TIMConversationOperationResultVector > *callback)=0 |
|
virtual void | GetTotalUnreadMessageCount (V2TIMValueCallback< uint64_t > *callback)=0 |
|
virtual void | GetUnreadMessageCountByFilter (const V2TIMConversationListFilter &filter, V2TIMValueCallback< uint64_t > *callback)=0 |
|
virtual void | SubscribeUnreadMessageCountByFilter (const V2TIMConversationListFilter &filter)=0 |
|
virtual void | UnsubscribeUnreadMessageCountByFilter (const V2TIMConversationListFilter &filter)=0 |
|
virtual void | CleanConversationUnreadMessageCount (const V2TIMString &conversationID, uint64_t cleanTimestamp, uint64_t cleanSequence, V2TIMCallback *callback)=0 |
|
virtual void | CreateConversationGroup (const V2TIMString &groupName, const V2TIMStringVector &conversationIDList, V2TIMValueCallback< V2TIMConversationOperationResultVector > *callback)=0 |
|
virtual void | GetConversationGroupList (V2TIMValueCallback< V2TIMStringVector > *callback)=0 |
|
virtual void | DeleteConversationGroup (const V2TIMString &groupName, V2TIMCallback *callback)=0 |
|
virtual void | RenameConversationGroup (const V2TIMString &oldName, const V2TIMString &newName, V2TIMCallback *callback)=0 |
|
virtual void | AddConversationsToGroup (const V2TIMString &groupName, const V2TIMStringVector &conversationIDList, V2TIMValueCallback< V2TIMConversationOperationResultVector > *callback)=0 |
|
virtual void | DeleteConversationsFromGroup (const V2TIMString &groupName, const V2TIMStringVector &conversationIDList, V2TIMValueCallback< V2TIMConversationOperationResultVector > *callback)=0 |
|
1.12 Mark a conversation(supported only in Chat Premium 6.5 and later versions)
- Parameters
-
conversationIDList | conversation list |
markType | mark type of the conversation. For the valid values, see the V2TIMConversationMarkType definition. |
enableMark | true:mark false:unmark |
If existing marks do not meet your needs, you can customize extension marks. Extension marks need to meet the following two conditions:
1、Extended mark values must not conflict with existing mark values in V2TIIMConversationMarkType.
2、Extended mark values must be a 0x1LL << n (32 <= n < 64, that is, n must be greater than or equal to 32 and less than 64). For example, you can use the extension mark "0x1LL << 32" to mean "Windows online".
- Attention
- : The extension mark value cannot be set to 0x1 << 32. It must be set to 0x1LL << 32, which explicitly tells the compiler that it is a 64-bit integer constant.