NIMSDK-AOS 10.4.0-beta
载入中...
搜索中...
未找到
QChatNotifyReason.java
浏览该文件的文档.
1package com.netease.nimlib.sdk.qchat.enums;
2
3/**
4 * 下发通知原因
5 */
6public enum QChatNotifyReason {
7 /**
8 * 通知channel里的所有人
9 */
11 /**
12 * 通知给订阅的人
13 */
15 ;
16
17 private int value;
18
19 QChatNotifyReason(int value) {
20 this.value = value;
21 }
22
23 public int getValue() {
24 return value;
25 }
26
27 public static QChatNotifyReason typeOfValue(int value) {
28 for (QChatNotifyReason e : values()) {
29 if (e.getValue() == value) {
30 return e;
31 }
32 }
33 return null;
34 }
35}