Public Member Functions | |
abstract void | setFriendListener (V2TIMFriendshipListener listener) |
abstract void | addFriendListener (V2TIMFriendshipListener listener) |
abstract void | removeFriendListener (V2TIMFriendshipListener listener) |
abstract void | getFriendList (V2TIMValueCallback< List< V2TIMFriendInfo >> callback) |
abstract void | getFriendsInfo (List< String > userIDList, V2TIMValueCallback< List< V2TIMFriendInfoResult >> callback) |
abstract void | setFriendInfo (V2TIMFriendInfo info, V2TIMCallback callback) |
abstract void | searchFriends (V2TIMFriendSearchParam searchParam, V2TIMValueCallback< List< V2TIMFriendInfoResult >> callback) |
abstract void | addFriend (V2TIMFriendAddApplication application, V2TIMValueCallback< V2TIMFriendOperationResult > callback) |
abstract void | deleteFromFriendList (List< String > userIDList, int deleteType, V2TIMValueCallback< List< V2TIMFriendOperationResult >> callback) |
abstract void | checkFriend (List< String > userIDList, int checkType, V2TIMValueCallback< List< V2TIMFriendCheckResult >> callback) |
abstract void | getFriendApplicationList (V2TIMValueCallback< V2TIMFriendApplicationResult > callback) |
abstract void | acceptFriendApplication (V2TIMFriendApplication application, int responseType, V2TIMValueCallback< V2TIMFriendOperationResult > callback) |
abstract void | acceptFriendApplication (V2TIMFriendApplication application, int responseType, String remark, V2TIMValueCallback< V2TIMFriendOperationResult > callback) |
abstract void | refuseFriendApplication (V2TIMFriendApplication application, V2TIMValueCallback< V2TIMFriendOperationResult > callback) |
abstract void | deleteFriendApplication (V2TIMFriendApplication application, V2TIMCallback callback) |
abstract void | setFriendApplicationRead (V2TIMCallback callback) |
abstract void | addToBlackList (List< String > userIDList, V2TIMValueCallback< List< V2TIMFriendOperationResult >> callback) |
abstract void | deleteFromBlackList (List< String > userIDList, V2TIMValueCallback< List< V2TIMFriendOperationResult >> callback) |
abstract void | getBlackList (V2TIMValueCallback< List< V2TIMFriendInfo >> callback) |
abstract void | createFriendGroup (String groupName, List< String > userIDList, final V2TIMValueCallback< List< V2TIMFriendOperationResult >> callback) |
abstract void | getFriendGroups (List< String > groupNameList, final V2TIMValueCallback< List< V2TIMFriendGroup >> callback) |
abstract void | deleteFriendGroup (List< String > groupNameList, final V2TIMCallback callback) |
abstract void | renameFriendGroup (String oldName, String newName, V2TIMCallback callback) |
abstract void | addFriendsToFriendGroup (String groupName, List< String > userIDList, V2TIMValueCallback< List< V2TIMFriendOperationResult >> callback) |
abstract void | deleteFriendsFromFriendGroup (String groupName, List< String > userIDList, V2TIMValueCallback< List< V2TIMFriendOperationResult >> callback) |
abstract void | subscribeOfficialAccount (String officialAccountID, V2TIMCallback callback) |
abstract void | unsubscribeOfficialAccount (String officialAccountID, V2TIMCallback callback) |
abstract void | getOfficialAccountsInfo (List< String > officialAccountIDList, V2TIMValueCallback< List< V2TIMOfficialAccountInfoResult >> callback) |
abstract void | followUser (List< String > userIDList, V2TIMValueCallback< List< V2TIMFollowOperationResult >> callback) |
abstract void | unfollowUser (List< String > userIDList, V2TIMValueCallback< List< V2TIMFollowOperationResult >> callback) |
abstract void | getMyFollowingList (String nextCursor, V2TIMValueCallback< V2TIMUserInfoResult > callback) |
abstract void | getMyFollowersList (String nextCursor, V2TIMValueCallback< V2TIMUserInfoResult > callback) |
abstract void | getMutualFollowersList (String nextCursor, V2TIMValueCallback< V2TIMUserInfoResult > callback) |
abstract void | getUserFollowInfo (List< String > userIDList, V2TIMValueCallback< List< V2TIMFollowInfo >> callback) |
abstract void | checkFollowType (List< String > userIDList, V2TIMValueCallback< List< V2TIMFollowTypeCheckResult >> callback) |
|
abstract |
1.1 Set the relationship chain listener
|
abstract |
1.2 Add the relationship chain listener
|
abstract |
1.3 Remove the relationship chain listener
|
abstract |
2.1 Get the friend list
|
abstract |
2.2 Get the profiles of specified friends
userIDList | List of friends' userIDs
|
|
abstract |
2.3 Set the profile of a specified friend
|
abstract |
2.4 Search for friends (supported only in Chat Premium 5.4.666 and later versions)
|
abstract |
2.5 Add a friend
|
abstract |
2.6 Delete friends
userIDList | List of the friend userIDs to be deleted
|
deleteType | Deletion type
|
|
abstract |
2.7 Check your relationships with specified users
userIDList | List of the userIDs to be checked |
checkType | Check type (one-way or two-way friend check) |
|
abstract |
3.1 Get the friend request list
|
abstract |
3.2 Accept friend requests
application | Friend request information, which will be returned when calling getFriendApplicationList is successful |
responseType | Build one-way or two-way friend relationships
|
|
abstract |
3.3 Accept friend requests and set a remark
application | Friend request information, which will be returned when calling getFriendApplicationList is successful |
responseType | Build one-way or two-way friend relationships
|
remark | Friend remark,maximum 96 bytes |
|
abstract |
3.4 Reject friend requests
application | Friend request information, which will be returned when calling getFriendApplicationList is successful |
|
abstract |
3.5 Delete friend requests
application | Friend request information, which will be returned when calling getFriendApplicationList is successful |
|
abstract |
3.6 Set a friend request as read
|
abstract |
4.1 Add users to the blocklist
|
abstract |
4.2 Delete users from the blocklist
|
abstract |
4.3 Get the blocklist
|
abstract |
5.1 Create a friend list
groupName | Friend list name |
userIDList | List of the friend userIDs to be added to the friend list |
|
abstract |
5.2 Get friend list information
groupNameList | List of the names of the friend lists whose information is to be obtained. If null is passed in, the information of all friend lists is obtained. |
|
abstract |
5.3 Delete friend lists
|
abstract |
oldName | Old name of the friend list |
newName | New name of the friend list |
callback | Callback |
|
abstract |
5.4 Add friends to a friend list
|
abstract |
5.5 Delete friends from a friend list
|
abstract |
6.1 Subscribe to an official account.(supported only in 7.6 and later versions)
|
abstract |
6.2 Unsubscribe from an official account..(supported only in 7.6 and later versions)
|
abstract |
6.3 Get a list of official accounts.(supported only in 7.6 and later versions)
officialAccountIDList | List of official account IDs. |
|
abstract |
7.1 Follow users (supported only in Chat Premium 7.8 and later versions)
|
abstract |
7.2 Unfollow users (supported only in Chat Premium 7.8 and later versions)
|
abstract |
7.3 Get a list of the users I follow (supported only in Chat Premium 7.8 and later versions)
nextCursor | Pulling-by-page flag. It can be set to null or "" when the information is pulled for the first time. If the API is called successfully and nextCursor returned by the callback is not "", the results are paginated. The value of this field should be passed in for the next pulling until nextCursor becomes "". |
|
abstract |
7.4 Get a list of my followers (supported only in Chat Premium 7.8 and later versions)
nextCursor | Pulling-by-page flag. It can be set to null or "" when the information is pulled for the first time. If the API is called successfully and nextCursor returned by the callback is not "", the results are paginated. The value of this field should be passed in for the next pulling until nextCursor becomes "". |
|
abstract |
7.5 Get a list of my mutual followers (supported only in Chat Premium 7.8 and later versions)
nextCursor | Pulling-by-page flag. It can be set to null or "" when the information is pulled for the first time. If the API is called successfully and nextCursor returned by the callback is not "", the results are paginated. The value of this field should be passed in for the next pulling until nextCursor becomes "". |
|
abstract |
7.6 Get the follow info of specified users (supported only in Chat Premium 7.8 and later versions)
|
abstract |
7.7 Check follow type of specified users (supported only in Chat Premium 7.8 and later versions)