NIMSDK-AOS  10.6.0
AddFriendData.java
浏览该文件的文档.
1 package com.netease.nimlib.sdk.friend.model;
2 
4 
5 import java.io.Serializable;
6 
10 public class AddFriendData implements Serializable {
11 
12  private String account;
13 
14  private VerifyType verifyType;
15 
16  private String msg;
17 
18  public AddFriendData(String account, VerifyType verifyType) {
19  this.account = account;
20  this.verifyType = verifyType;
21  }
22 
23  public AddFriendData(String account, VerifyType verifyType, String msg) {
24  this.account = account;
25  this.verifyType = verifyType;
26  this.msg = msg;
27  }
28 
33  public String getAccount() {
34  return account;
35  }
36 
42  return verifyType;
43  }
44 
49  public String getMsg() {
50  return msg;
51  }
52 }
String getMsg()
获取好友请求附言
AddFriendData(String account, VerifyType verifyType, String msg)
VerifyType getVerifyType()
获取好友请求方式
AddFriendData(String account, VerifyType verifyType)