1 package com.netease.nimlib.sdk.friend.model;
5 import java.io.Serializable;
43 for (
Event e : values()) {
44 if (e.getValue() == type) {
56 private String account;
62 private String serverExt;
65 this.account = account;
70 this.account = account;
76 this.account = account;
79 this.serverExt = serverExt;
AddFriendNotify(String account, Event event, String msg)
static Event eventOfValue(byte type)
RECV_ADD_FRIEND_DIRECT
对方直接加你为好友
AddFriendNotify(String account, Event event)
RECV_ADD_FRIEND_VERIFY_REQUEST
对方发起好友验证请求
AddFriendNotify(String account, Event event, String msg, String serverExt)
RECV_AGREE_ADD_FRIEND
对方同意加你为好友
RECV_REJECT_ADD_FRIEND
对方拒绝加你为好友