# FriendManager

public interface FriendManager

## Functions

acceptFriendApplication
Link copied to clipboard
public abstract void acceptFriendApplication(String userId, IRongCoreCallback.OperationCallback callback)
addFriend
Link copied to clipboard
public abstract void addFriend(String userId, DirectionType directionType, String extra, IRongCoreCallback.ResultCallback<IRongCoreEnum.CoreErrorCode> callback)
checkFriends
Link copied to clipboard
public abstract void checkFriends(List<String> userIds, DirectionType directionType, IRongCoreCallback.ResultCallback<List<FriendRelationInfo>> callback)
deleteFriendApplication
Link copied to clipboard
public abstract void deleteFriendApplication(String userId, FriendApplicationType type, IRongCoreCallback.OperationCallback callback)
deleteFriends
Link copied to clipboard
public abstract void deleteFriends(List<String> userIds, DirectionType directionType, IRongCoreCallback.OperationCallback callback)
getFriendAddPermission
Link copied to clipboard
public abstract void getFriendAddPermission(IRongCoreCallback.ResultCallback<FriendAddPermission> callback)
getFriendApplications
Link copied to clipboard
public abstract void getFriendApplications(PagingQueryOption option, Array<FriendApplicationType> types, Array<FriendApplicationStatus> status, IRongCoreCallback.PageResultCallback<FriendApplicationInfo> callback)
getFriends
Link copied to clipboard
public abstract void getFriends(QueryFriendsDirectionType type, IRongCoreCallback.ResultCallback<List<FriendInfo>> callback)
getFriendsInfo
Link copied to clipboard
public abstract void getFriendsInfo(List<String> userIds, IRongCoreCallback.ResultCallback<List<FriendInfo>> callback)
refuseFriendApplication
Link copied to clipboard
public abstract void refuseFriendApplication(String userId, String reason, IRongCoreCallback.OperationCallback callback)
searchFriendsInfo
Link copied to clipboard
public abstract void searchFriendsInfo(String name, IRongCoreCallback.ResultCallback<List<FriendInfo>> callback)
setFriendAddPermission
Link copied to clipboard
public abstract void setFriendAddPermission(FriendAddPermission permission, IRongCoreCallback.OperationCallback callback)
setFriendInfo
Link copied to clipboard
public abstract void setFriendInfo(String userId, String remark, Map<String, String> extProfile, IRongCoreCallback.OperationCallback callback)