Package io.rong.imlib.internal.manager

## Interface FriendManager

- All Implemented Interfaces:

      public interface FriendManager

- - ### Nested Class Summary

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

  - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---

  - ### Enum Constant Summary

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

  - ### Method Summary

    Modifier and Type | Method | Description
    --- | --- | ---
    `abstract void` | `addFriend(String userId, DirectionType directionType, String extra, IRongCoreCallback.ResultCallback<IRongCoreEnum.CoreErrorCode> callback)` |
    `abstract void` | `deleteFriends(List<String> userIds, DirectionType directionType, IRongCoreCallback.OperationCallback callback)` |
    `abstract void` | `acceptFriendApplication(String userId, IRongCoreCallback.OperationCallback callback)` |
    `abstract void` | `refuseFriendApplication(String userId, String reason, IRongCoreCallback.OperationCallback callback)` |
    `abstract void` | `setFriendInfo(String userId, String remark, Map<String, String> extProfile, IRongCoreCallback.DefaultExamineCallback callback)` |
    `abstract void` | `checkFriends(List<String> userIds, DirectionType directionType, IRongCoreCallback.ResultCallback<List<FriendRelationInfo>> callback)` |
    `abstract void` | `getFriends(QueryFriendsDirectionType type, IRongCoreCallback.ResultCallback<List<FriendInfo>> callback)` |
    `abstract void` | `getFriendApplications(PagingQueryOption option, Array<FriendApplicationType> types, Array<FriendApplicationStatus> status, IRongCoreCallback.PageResultCallback<FriendApplicationInfo> callback)` |
    `abstract void` | `deleteFriendApplication(String userId, FriendApplicationType type, IRongCoreCallback.OperationCallback callback)` |
    `abstract void` | `getFriendsInfo(List<String> userIds, IRongCoreCallback.ResultCallback<List<FriendInfo>> callback)` |
    `abstract void` | `searchFriendsInfo(String name, IRongCoreCallback.ResultCallback<List<FriendInfo>> callback)` |
    `abstract void` | `setFriendAddPermission(FriendAddPermission permission, IRongCoreCallback.OperationCallback callback)` |
    `abstract void` | `getFriendAddPermission(IRongCoreCallback.ResultCallback<FriendAddPermission> callback)` |

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

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

- - ### Constructor Detail

  - ### Method Detail

    - #### addFriend

           abstract void addFriend(String userId, DirectionType directionType, String extra, IRongCoreCallback.ResultCallback<IRongCoreEnum.CoreErrorCode> callback)

    - #### deleteFriends

           abstract void deleteFriends(List<String> userIds, DirectionType directionType, IRongCoreCallback.OperationCallback callback)

    - #### acceptFriendApplication

           abstract void acceptFriendApplication(String userId, IRongCoreCallback.OperationCallback callback)

    - #### refuseFriendApplication

           abstract void refuseFriendApplication(String userId, String reason, IRongCoreCallback.OperationCallback callback)

    - #### setFriendInfo

           abstract void setFriendInfo(String userId, String remark, Map<String, String> extProfile, IRongCoreCallback.DefaultExamineCallback callback)

    - #### checkFriends

           abstract void checkFriends(List<String> userIds, DirectionType directionType, IRongCoreCallback.ResultCallback<List<FriendRelationInfo>> callback)

    - #### getFriends

           abstract void getFriends(QueryFriendsDirectionType type, IRongCoreCallback.ResultCallback<List<FriendInfo>> callback)

    - #### getFriendApplications

           abstract void getFriendApplications(PagingQueryOption option, Array<FriendApplicationType> types, Array<FriendApplicationStatus> status, IRongCoreCallback.PageResultCallback<FriendApplicationInfo> callback)

    - #### deleteFriendApplication

           abstract void deleteFriendApplication(String userId, FriendApplicationType type, IRongCoreCallback.OperationCallback callback)

    - #### getFriendsInfo

           abstract void getFriendsInfo(List<String> userIds, IRongCoreCallback.ResultCallback<List<FriendInfo>> callback)

    - #### searchFriendsInfo

           abstract void searchFriendsInfo(String name, IRongCoreCallback.ResultCallback<List<FriendInfo>> callback)

    - #### setFriendAddPermission

           abstract void setFriendAddPermission(FriendAddPermission permission, IRongCoreCallback.OperationCallback callback)

    - #### getFriendAddPermission

           abstract void getFriendAddPermission(IRongCoreCallback.ResultCallback<FriendAddPermission> callback)