NIMSDK-AOS  9.16.0
QChatPushMsgType.java
浏览该文件的文档.
1 package com.netease.nimlib.sdk.qchat.enums;
2 
7 public enum QChatPushMsgType {
11  ALL(1),
23  NONE(4),
27  INHERIT(5),
28  ;
29 
30  private int value;
31 
32  QChatPushMsgType(int value) {
33  this.value = value;
34  }
35 
36  public int getValue() {
37  return value;
38  }
39 
40  public static QChatPushMsgType typeOfValue(int value) {
41  for (QChatPushMsgType e : values()) {
42  if (e.getValue() == value) {
43  return e;
44  }
45  }
46  return null;
47  }
48 }
推送消息类型选项 低等级消息:普通消息等(没有具体目标、没有@意愿) 中等级消息: @所有人等(没有具体目...
static QChatPushMsgType typeOfValue(int value)