Package io.rong.imkit.usermanage.handler

## Class FriendApplicationHandler

- All Implemented Interfaces:

      public class FriendApplicationHandler

  好友申请处理类

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

  Since:

    5.12.0

  Author:

    rongcloud

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class | Description
    --- | --- | ---

  - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `public final static DataKey<PagingQueryResult>` | `KEY_GET_FRIEND_APPLICATIONS` |
    `public final static DataKey<Boolean>` | `KEY_ACCEPT_FRIEND_APPLICATIONS` |
    `public final static DataKey<Boolean>` | `KEY_REJECT_FRIEND_APPLICATIONS` |

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `FriendApplicationHandler()` |

  - ### Enum Constant Summary

    Enum Constants
    Enum Constant | Description
    --- | ---

  - ### Method Summary

    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `getFriendApplications(PagingQueryOption option, Array<FriendApplicationType> type, Array<FriendApplicationStatus> status)` |
    `void` | `)>acceptFriendApplication(String userId, OnDataChangeListener<Boolean> listener)` |
    `void` | `)>refuseFriendApplication(String userId, OnDataChangeListener<Boolean> listener)` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### FriendApplicationHandler

          FriendApplicationHandler()

  - ### Method Detail

    - #### getFriendApplications

           void getFriendApplications(PagingQueryOption option, Array<FriendApplicationType> type, Array<FriendApplicationStatus> status)

    - #### acceptFriendApplication

           void )>acceptFriendApplication(String userId, OnDataChangeListener<Boolean> listener)

    - #### refuseFriendApplication

           void )>refuseFriendApplication(String userId, OnDataChangeListener<Boolean> listener)