NIMSDK-AOS  10.5.0
StatusCodeInfo.java
浏览该文件的文档.
1 package com.netease.nimlib.sdk;
2 
3 import java.io.Serializable;
4 
5 public class StatusCodeInfo implements Serializable {
6  private StatusCode status;
7  private String desc;
8 
9  public StatusCodeInfo(StatusCode status, String desc) {
10  this.status = status;
11  this.desc = desc;
12  }
13 
14  public StatusCode getStatus() {
15  return status;
16  }
17 
18  public String getDesc() {
19  return desc;
20  }
21 }
用户当前状态码定义
Definition: StatusCode.java:6
StatusCodeInfo(StatusCode status, String desc)