NIMSDK-AOS 10.4.0-beta
载入中...
搜索中...
未找到
QChatMessageReferType.java
浏览该文件的文档.
1package com.netease.nimlib.sdk.qchat.enums;
2
3/**
4 * 消息引用类型
5 */
7 /**
8 * 回复的
9 */
11 /**
12 * 根Thread
13 */
15 /**
16 * 所有
17 */
18 ALL(3)
19 ;
20
21 private int value;
22
24 this.value = value;
25 }
26
27 public int getValue() {
28 return value;
29 }
30
31 public static QChatMessageReferType typeOfValue(int value) {
32 for (QChatMessageReferType e : values()) {
33 if (e.getValue() == value) {
34 return e;
35 }
36 }
37 return null;
38 }
39}