NIMSDK-AOS  10.5.0
MigrationConstant.java
浏览该文件的文档.
1 package com.netease.nimlib.sdk.migration.model;
2 
3 public class MigrationConstant {
4 
5 
9  public final static int EXPORT_PROGRESS_CONVERT_MSG_STATE = 1;
10 
14  public final static int EXPORT_PROGRESS_UPLOAD_FILE_STATE = 2;
15 
16 
20  public final static int IMPORT_PROGRESS_DOWNLOAD_FILE_STATE = 3;
21 
25  public final static int IMPORT_PROGRESS_FILE_TO_MSG_STATE = 4;
26 
27 
31  public static final int ERR_NO_ENOUGH_SPACE = -50;
32 
36  public static final int EXPORT_ERR_DB_EMPTY = -100;
37 
38 
42  public static final int EXPORT_ERR_LOCAL_FORMAT = -101;
43 
47  public static final int EXPORT_ERR_USER_CUSTOM_ZIP = -102;
48 
49 
53  public static final int EXPORT_ERR_USER_CUSTOM_ENCRYPT = -103;
54 
58  public static final int EXPORT_ERR_UPLOAD_FILE = -104;
59 
63  public static final int EXPORT_ERR_EMPTY_AFTER_FILTER = -105;
64 
65 
66 
67 
68 
72  public static final int IMPORT_ERR_RECORD_EMPTY = -200;
73 
77  public static final int IMPORT_ERR_DOWN_FILE = -201;
78 
82  public static final int IMPORT_ERR_CUSTOM_DECRYPT = -202;
83 
84 
88  public static final int IMPORT_ERR_CUSTOM_UNZIP = -203;
89 
93  public static final int IMPORT_ERR_FILE_FORMAT = -204;
94 
98  public static final int IMPORT_ERR_PART_SUCCESS = -205;
99 
100 
104  public static final int IMPORT_ERR_NO_BACKUP = 404;
105 
106 
107 }
static final int EXPORT_ERR_UPLOAD_FILE
消息导出时,上传文件失败
static final int IMPORT_ERR_RECORD_EMPTY
消息导入时,服务端返回了备份记录,但是为空
static final int IMPORT_ERR_DOWN_FILE
消息导入时 ,文件下载失败
static final int EXPORT_PROGRESS_UPLOAD_FILE_STATE
消息导出时,上传最终文件的进度状态
static final int IMPORT_ERR_NO_BACKUP
消息导入时,服务端上没有备份记录
static final int EXPORT_PROGRESS_CONVERT_MSG_STATE
消息导出时,DB中的消息转换成文件的进度状态
static final int EXPORT_ERR_USER_CUSTOM_ZIP
消息导出时,文件压缩失败(用户自定义过程)
static final int IMPORT_PROGRESS_FILE_TO_MSG_STATE
消息导入时,文件转换成消息的进度状态
static final int EXPORT_ERR_USER_CUSTOM_ENCRYPT
消息导出时,文件加密失败(用户自定义过程)
static final int EXPORT_ERR_DB_EMPTY
消息导出时,DB中没有数据
static final int EXPORT_ERR_EMPTY_AFTER_FILTER
消息导出时,本地有消息,但是都被过滤了
static final int ERR_NO_ENOUGH_SPACE
消息导出/导入时时,没有足够的存储空间 或sd 卡没有挂载成功
static final int IMPORT_ERR_PART_SUCCESS
消息导入时,部分成功,可能是文件的后面部损坏
static final int EXPORT_ERR_LOCAL_FORMAT
消息导出时,本地消息格式化失败
static final int IMPORT_ERR_FILE_FORMAT
消息导入时 ,文件格式错误 , 可能是导出/导入时自定义文件处理过程出问题了(eg:加/解密过程 , 解/压缩...
static final int IMPORT_ERR_CUSTOM_DECRYPT
消息导入时 ,文件解密失败(用户自定义过程)
static final int IMPORT_PROGRESS_DOWNLOAD_FILE_STATE
消息导入时,下载文件的进度状态
static final int IMPORT_ERR_CUSTOM_UNZIP
消息导入时 ,文件解压缩失败(用户自定义过程)