Interface OnGroupAndUserEventListener
-
- All Implemented Interfaces:
public interface OnGroupAndUserEventListenerGroup and user event listener.
- Since:
5.12.2
-
-
Method Summary
Modifier and Type Method Description abstract voidupdateGroupInfo(GroupInfo groupInfo, NCError error)Updates group info. abstract voidsetGroupMemberInfo(String groupId, String userId, String nickname, String extra, NCError error)Updates group member info. abstract voidupdateMyUserProfile(UserProfile userProfile, NCError error)Updates the current user's profile. abstract voidsetFriendInfo(String userId, String remark, Map<String, String> extProfile, NCError error)Sets friend info. -
-
Method Detail
-
updateGroupInfo
abstract void updateGroupInfo(GroupInfo groupInfo, NCError error)
Updates group info.
- Parameters:
groupInfo- the group infoerror- the error, null on success
-
setGroupMemberInfo
abstract void setGroupMemberInfo(String groupId, String userId, String nickname, String extra, NCError error)
Updates group member info.
- Parameters:
groupId- the group IDuserId- the user IDnickname- the nicknameextra- the extra dataerror- the error, null on success
-
updateMyUserProfile
abstract void updateMyUserProfile(UserProfile userProfile, NCError error)
Updates the current user's profile.
- Parameters:
userProfile- the user profileerror- the error, null on success
-
-
-
-