GroupApplicationsViewModel

群组申请 ViewModel

Author

rongcloud

Since

5.12.2

Constructors

Link copied to clipboard
public void GroupApplicationsViewModel(Bundle arguments)

Properties

Link copied to clipboard
public final MutableLiveData<List<GroupApplicationInfo>> groupApplicationInfoListLiveData

Functions

Link copied to clipboard
public void acceptGroupApplication(String groupId, String inviterId, String applicantId, OnDataChangeListener<CoreErrorCode> onDataChangeListener)
接受群组申请
Link copied to clipboard
public void acceptGroupInvite(String groupId, String inviterId, OnDataChangeListener<Boolean> onDataChangeListener)
接受群组邀请
Link copied to clipboard
public MutableLiveData<List<GroupApplicationInfo>> getGroupApplicationInfoListLiveData()
Link copied to clipboard
public void getGroupApplications(Array<GroupApplicationDirection> directions, Array<GroupApplicationStatus> status)
获取群组申请
Link copied to clipboard
public void refuseGroupApplication(String groupId, String inviterId, String applicantId, String reason, OnDataChangeListener<Boolean> onDataChangeListener)
拒绝群组申请
Link copied to clipboard
public void refuseGroupInvite(String groupId, String inviterId, String reason, OnDataChangeListener<Boolean> onDataChangeListener)
拒绝群组邀请