hyphenate_SDK4.0 4.8.0
hyphenate java IM SDK
|
Public Member Functions | |
boolean | filter (EMConversation emConversation) |
Custom conversation filter.
boolean com.hyphenate.chat.EMCustomConversationFilter.filter | ( | EMConversation | emConversation | ) |
Filters conversations.
This method is implemented by yourself. You can decide whether to filter out the conversations based on the conversation properties.
emConversation | The conversation object. |
true
, the conversation will be returned and loaded into memory. If false
, the conversation will be filtered out, instead of being returned and loaded into memory.