Chat SDK for Android v1.3.2
agora java chat SDK
Public Member Functions | List of all members
io.agora.chat.ConversationFilter Class Reference

Inherits io.agora.chat.EMBase< T >.

Public Member Functions

 ConversationFilter (@NonNull EMMarkType markType, int pageSize)
 
EMMarkType getMarkType ()
 
void setMarkType (EMMarkType mMark)
 
int getPageSize ()
 
void setPageSize (int mPageSize)
 

Detailed Description

The conversation filter class.

Constructor & Destructor Documentation

◆ ConversationFilter()

io.agora.chat.ConversationFilter.ConversationFilter ( @NonNull EMMarkType  markType,
int  pageSize 
)

Constructor.

Parameters
markTypeThe conversation mark.
pageSizeThe number of conversations to retrieve on each page. The value range is [1,10].

Member Function Documentation

◆ getMarkType()

EMMarkType io.agora.chat.ConversationFilter.getMarkType ( )

Gets the conversation mark.

Returns
The conversation mark.

◆ getPageSize()

int io.agora.chat.ConversationFilter.getPageSize ( )

Gets the number of conversations to retrieve on each page.

Returns
The number of conversations to retrieve on each page.

◆ setMarkType()

void io.agora.chat.ConversationFilter.setMarkType ( EMMarkType  mMark)

Sets the conversation mark.

Parameters
mMarkThe conversation mark.

◆ setPageSize()

void io.agora.chat.ConversationFilter.setPageSize ( int  mPageSize)

Sets the number of conversations to retrieve on each page.

Parameters
mPageSizeThe number of conversations to retrieve on each page. The value range is [1,10].

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