NIMSDK-AOS  9.21.10
QChatGetMuteHistoryType.java
浏览该文件的文档.
1 package com.netease.nimlib.sdk.qchat.enums;
2 
4  /**
5  * 服务器级别
6  */
7  SERVER(1),
8  /**
9  * 服务器级别和频道级别
10  */
12  /**
13  * 频道级别
14  */
15  CHANNEL(3),
16  /**
17  * 频道级别,包括指定用户
18  */
20  /**
21  * 服务器级别,包括指定用户
22  */
24  /**
25  * 包括指定用户的所有数据(跨服务器的所有)
26  */
27  MEMBER(6);
28 
29 
30  private final int value;
31 
33  this.value = value;
34  }
35 
36  public int getValue() {
37  return value;
38  }
39 
40  public static QChatGetMuteHistoryType typeOfValue(int value) {
41  for (QChatGetMuteHistoryType type : QChatGetMuteHistoryType.values()) {
42  if (type.getValue() == value) {
43  return type;
44  }
45  }
46  return null;
47  }
48 }
MEMBER
包括指定用户的所有数据(跨服务器的所有)