hyphenate_SDK4.0 4.6.0
hyphenate java IM SDK
|
Public 成员函数 | |
boolean | filter (EMConversation emConversation) |
自定义会话过滤器。
boolean com.hyphenate.chat.EMCustomConversationFilter.filter | ( | EMConversation | emConversation | ) |
过滤会话。
该方法由用户实现,开发者可以根据会话属性来决定是否过滤掉该会话。
emConversation | 会话对话。 |
true
则会话不会被过滤掉,会返回给用户,同时会加载到内存。false
则会话会被过滤,不会返回给用户,也不会加载到内存。