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

Public Member Functions

int getTotalCount ()
 
List< V2TIMMessageSearchResultItemgetMessageSearchResultItems ()
 
String getSearchCursor ()
 

Member Function Documentation

◆ getTotalCount()

int getTotalCount ( )
inline

If you search a specific conversation, the total number of messages that match the search conditions will be returned. If you search all conversations, the number of conversations that contain matching messages will be returned.

◆ getMessageSearchResultItems()

List<V2TIMMessageSearchResultItem> getMessageSearchResultItems ( )
inline

If you search a specific conversation, the messages that match the search conditions in that conversation will be returned. If you search all conversations, matching messages in all conversations will be returned, grouped by conversation ID and paginated.

◆ getSearchCursor()

String getSearchCursor ( )
inline

Get the starting position of the next cloud search.