hyphenate_SDK4.0 4.8.0
hyphenate java IM SDK
|
Public Attributes | |
UP | |
DOWN | |
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).
com.hyphenate.chat.EMConversation.EMSearchDirection.DOWN |
Messages are retrieved in the ascending order of the Unix timestamp included in them.
com.hyphenate.chat.EMConversation.EMSearchDirection.UP |
Messages are retrieved in the descending order of the Unix timestamp included in them.