1 package com.netease.nimlib.sdk.qchat.model;
3 import androidx.annotation.Nullable;
9 private final long serverId;
10 private final String nick;
11 private final boolean nickChanged;
12 private final String avatar;
13 private final boolean avatarChanged;
16 this.serverId = serverId;
18 this.nickChanged = nickChanged;
20 this.avatarChanged = avatarChanged;
54 return "QChatUpdatedMyMemberInfoImpl{" +
55 "serverId=" + serverId +
56 ", nick='" + LogDesensitizationConfigHelper.getPrintTextOfNick(nick) +
'\'' +
57 ", nickChanged=" + nickChanged +
58 ", avatar='" + avatar +
'\'' +
59 ", avatarChanged=" + avatarChanged +
String getNick()
变更后的昵称 QChatUpdatedMyMemberInfo#isNickChanged()为false是为null
String getAvatar()
变更后的头像。 QChatUpdatedMyMemberInfo#isAvatarChanged()为false是为null
boolean isNickChanged()
昵称是否有变更
long getServerId()
产生变更的服务器的ID
boolean isAvatarChanged()
头像是否有变更
QChatUpdatedMyMemberInfoImpl(long serverId, String nick, boolean nickChanged, String avatar, boolean avatarChanged)