search Conversations
public abstract void searchConversations(String keyword, Array<ConversationType> conversationTypes, Array<String> objectNames, IRongCoreCallback.ResultCallback<List<SearchConversationResult>> resultCallback)
Search conversations based on keywords.
This method quickly returns a list of matched conversations, including the count of matched messages in each conversation. Use getMatchCount to retrieve this count.Note: To ensure custom messages are searchable, implement the getSearchableWord method in your custom message class.
Since
5.0.0
Parameters
keyword
The keyword to search for.
conversation Types
The types of conversations to search.
object Names
The types of messages to search, e.g., RC:TxtMsg.
result Callback
Callback for search results.