NIMSDK-AOS  10.5.0
NosTransferStatus.java
浏览该文件的文档.
1 package com.netease.nimlib.sdk.nos.constant;
2 
6 public enum NosTransferStatus {
7 
11  def(0),
23  fail(3);
24 
25  private int value;
26 
27  NosTransferStatus(int value){
28  this.value = value;
29  }
30 
31  public static NosTransferStatus statusOfValue(int status) {
32  for (NosTransferStatus e : values()) {
33  if (e.getValue() == status) {
34  return e;
35  }
36  }
37  return def;
38  }
39 
40  public int getValue(){
41  return value;
42  }
43 }
static NosTransferStatus statusOfValue(int status)