GroupProfileViewModel

群组资料页面ViewModel

Author

rongcloud

Since

5.12.0

Constructors

Link copied to clipboard
public void GroupProfileViewModel(Bundle arguments)

Properties

Link copied to clipboard
public final MutableLiveData<ConversationNotificationStatus> conversationNotificationStatusLiveData
Link copied to clipboard
public final MutableLiveData<Boolean> isConversationTopLiveData
Link copied to clipboard
public final MutableLiveData<GroupMemberInfo> myMemberInfoLiveData

Functions

Link copied to clipboard
public void dismissGroup(OnDataChangeListener<Boolean> listener)
解散群组
public MutableLiveData<ConversationNotificationStatus> getConversationNotificationStatusLiveData()
Link copied to clipboard
public LiveData<GroupInfo> getGroupInfoLiveData()
Link copied to clipboard
public LiveData<List<GroupMemberInfo>> getGroupMemberInfosLiveData()
Link copied to clipboard
public MutableLiveData<Boolean> getIsConversationTopLiveData()
Link copied to clipboard
public MutableLiveData<GroupMemberInfo> getMyMemberInfoLiveData()
Link copied to clipboard
public void quitGroup(OnDataChangeListener<Boolean> listener)
退出群组
Link copied to clipboard
public void setConversationNotificationStatus(ConversationNotificationStatus conversationNotificationStatus, OnDataChangeListener<ConversationNotificationStatus> listener)
设置会话免打扰状态
Link copied to clipboard
public void setConversationTopStatus(boolean isTop, OnDataChangeListener<Boolean> listener)
设置会话置顶状态