hyphenate_SDK4.0 4.8.0
hyphenate java IM SDK
Public Attributes | List of all members
com.hyphenate.chat.EMConversation.EMSearchDirection Enum Reference

Public Attributes

 UP
 
 DOWN
 

Detailed Description

The message search direction.

The message research is based on the Unix timestamp included in messages. Each message contains two Unix timestamps:

Which Unix timestamp is used for message search depends on the setting of EMOptions#setSortMessageByServerTime(boolean).

Member Data Documentation

◆ DOWN

com.hyphenate.chat.EMConversation.EMSearchDirection.DOWN

Messages are retrieved in the ascending order of the Unix timestamp included in them.

◆ UP

com.hyphenate.chat.EMConversation.EMSearchDirection.UP

Messages are retrieved in the descending order of the Unix timestamp included in them.


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