hyphenate_SDK4.0 4.8.0
hyphenate java IM SDK
Public Member Functions | List of all members
com.hyphenate.chat.EMCustomConversationFilter Interface Reference

Public Member Functions

boolean filter (EMConversation emConversation)
 

Detailed Description

Custom conversation filter.

Member Function Documentation

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

Parameters
emConversationThe conversation object.
Returns
A boolean return value determined by yourself. If 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.

The documentation for this interface was generated from the following file: