# FriendApplicationHandler

public class FriendApplicationHandler

好友申请处理类

注意：使用完毕后需要调用 stop 方法释放资源

#### Author

rongcloud

#### Since

5.12.0

## Constructors

FriendApplicationHandler
Link copied to clipboard
public void FriendApplicationHandler()

## Properties

KEY_ACCEPT_FRIEND_APPLICATIONS
Link copied to clipboard
public final static DataKey<Boolean> KEY_ACCEPT_FRIEND_APPLICATIONS
KEY_GET_FRIEND_APPLICATIONS
Link copied to clipboard
public final static DataKey<PagingQueryResult> KEY_GET_FRIEND_APPLICATIONS
KEY_REJECT_FRIEND_APPLICATIONS
Link copied to clipboard
public final static DataKey<Boolean> KEY_REJECT_FRIEND_APPLICATIONS

## Functions

acceptFriendApplication
Link copied to clipboard
public void acceptFriendApplication(String userId, OnDataChangeListener<Boolean> listener)
getFriendApplications
Link copied to clipboard
public void getFriendApplications(PagingQueryOption option, Array<FriendApplicationType> type, Array<FriendApplicationStatus> status)
refuseFriendApplication
Link copied to clipboard
public void refuseFriendApplication(String userId, OnDataChangeListener<Boolean> listener)