# GroupApplicationsViewModel

public class GroupApplicationsViewModel

群组申请 ViewModel

#### Author

rongcloud

#### Since

5.12.2

## Constructors

GroupApplicationsViewModel
Link copied to clipboard
public void GroupApplicationsViewModel(Bundle arguments)

## Properties

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

## Functions

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