Chat SDK for Android v1.2.1
agora java chat SDK
Public Attributes | List of all members
io.agora.chat.Conversation.SearchDirection 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 ChatOptions#setSortMessageByServerTime(boolean).

Member Data Documentation

◆ DOWN

io.agora.chat.Conversation.SearchDirection.DOWN

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

◆ UP

io.agora.chat.Conversation.SearchDirection.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: