IMSDK
IM features a comprehensive suite of solutions including global access, one-to-one chat, group chat, message push, profile and relationship chain hosting, and account authentication. It also provides complete app access and backend management APIs.
V2TIMConversationListFilter

Public Member Functions

int getConversationType ()
 
void setConversationType (int conversationType)
 
String getConversationGroup ()
 
void setConversationGroup (String groupName)
 
long getMarkType ()
 
void setMarkType (long markType)
 
boolean getHasUnreadCount ()
 
void setHasUnreadCount (boolean hasUnreadCount)
 
boolean getHasGroupAtInfo ()
 
void setHasGroupAtInfo (boolean hasGroupAtInfo)
 

Member Function Documentation

◆ getConversationType()

int getConversationType ( )
inline

Get conversation type

◆ setConversationType()

void setConversationType ( int  conversationType)
inline

Set conversation type(fill in 0 means do not filter this item)

◆ getConversationGroup()

String getConversationGroup ( )
inline

Get conversation group

◆ setConversationGroup()

void setConversationGroup ( String  groupName)
inline

Set conversation group Not setting means not filtering this item, setting it to "" means filtering conversations not belonging to any conversation group.

◆ getMarkType()

long getMarkType ( )
inline

Get conversation mark type

◆ setMarkType()

void setMarkType ( long  markType)
inline

Set conversation mark type Not setting means not filtering this item, setting the field to 0 means filtering conversations without any mark.

◆ getHasUnreadCount()

boolean getHasUnreadCount ( )
inline

Get whether the conversation list with unread message will be returned

◆ setHasUnreadCount()

void setHasUnreadCount ( boolean  hasUnreadCount)
inline

Set whether the conversation has unread count Not setting means not filtering this item, setting to true means filtering conversations with unread count; setting to false means filtering conversations without unread count.

◆ getHasGroupAtInfo()

boolean getHasGroupAtInfo ( )
inline

Get whether the conversation list with group at message will be returned

◆ setHasGroupAtInfo()

void setHasGroupAtInfo ( boolean  hasGroupAtInfo)
inline

Set whether the conversation has group at info Not setting means not filtering this item, setting to true means filtering conversations with group @ messages; setting to false means filtering conversations without group @ messages.