# UltraGroupConversationListViewModel

public class UltraGroupConversationListViewModel

## Constructors

UltraGroupConversationListViewModel
Link copied to clipboard
public void UltraGroupConversationListViewModel(Application application)

## Functions

clearAllNotification
Link copied to clipboard
public void clearAllNotification()
getConversationList
Link copied to clipboard
public void getConversationList(boolean loadMore, boolean isEventManual)
从本地数据库获取会话列表。 此处借鉴前端的函数节流思想，在 REFRESH_INTERVAL 时间内，丢弃掉其它触发，只做一次执行。 以便提高接受大量消息时的刷新性能。
getConversationListLiveData
Link copied to clipboard
public MediatorLiveData<List<BaseUiConversation>> getConversationListLiveData()
getNoticeContentLiveData
Link copied to clipboard
public LiveData<NoticeContent> getNoticeContentLiveData()
获取连接状态通知内容
getRefreshEventLiveData
Link copied to clipboard
public LiveData<RefreshEvent> getRefreshEventLiveData()
获取刷新事件 LiveData
setChannelId
Link copied to clipboard
public void setChannelId(String channelId)