NIMSDK-AOS  10.9.50
V2NIMSearchKeywordMathType.java
浏览该文件的文档.
1 package com.netease.nimlib.sdk.v2.message.enums;
2 
3 // 搜索关键字匹配条件
7  ;
8 
9  private final int value;
10 
12  this.value = value;
13  }
14 
15  public static V2NIMSearchKeywordMathType typeOfValue(int value) {
16  for (V2NIMSearchKeywordMathType type : values()) {
17  if (type.value == value) {
18  return type;
19  }
20  }
21  return null;
22  }
23 
24  public int getValue() {
25  return value;
26  }
27 }