NIMSDK-AOS  10.5.0
TeamAllMuteModeEnum.java
浏览该文件的文档.
1 package com.netease.nimlib.sdk.team.constant;
2 
6 public enum TeamAllMuteModeEnum {
7 
11  Cancel(0),
12 
17 
21  MuteALL(3);
22 
23  private int value;
24 
25  TeamAllMuteModeEnum(int value) {
26  this.value = value;
27  }
28 
29  public static TeamAllMuteModeEnum typeOfValue(int value) {
30  for (TeamAllMuteModeEnum type : values()) {
31  if (type.value == value) {
32  return type;
33  }
34  }
35  return Cancel;
36  }
37 
38  public int getValue() {
39  return value;
40  }
41 }