NIMSDK-AOS
9.19.0
basesdk
src
com
netease
nimlib
sdk
nos
constant
NosTransferStatus.java
浏览该文件的文档.
1
package
com.netease.nimlib.sdk.nos.constant;
2
3
/**
4
* NOS文件传输状态枚举类
5
*/
6
public
enum
NosTransferStatus
{
7
8
/**
9
* 默认状态,未开始
10
*/
11
def
(0),
12
/**
13
* 正在传输
14
*/
15
transferring
(1),
16
/**
17
* 传输成功
18
*/
19
transferred
(2),
20
/**
21
* 传输失败
22
*/
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
}
com.netease.nimlib.sdk.nos.constant.NosTransferStatus.transferring
transferring
正在传输
Definition:
NosTransferStatus.java:15
com.netease.nimlib.sdk.nos.constant.NosTransferStatus.statusOfValue
static NosTransferStatus statusOfValue(int status)
Definition:
NosTransferStatus.java:31
com.netease.nimlib.sdk.nos.constant.NosTransferStatus.transferred
transferred
传输成功
Definition:
NosTransferStatus.java:19
com.netease.nimlib.sdk.nos.constant.NosTransferStatus
NOS文件传输状态枚举类
Definition:
NosTransferStatus.java:6
com.netease.nimlib.sdk.nos.constant.NosTransferStatus.NosTransferStatus
NosTransferStatus(int value)
Definition:
NosTransferStatus.java:27
com.netease.nimlib.sdk.nos.constant.NosTransferStatus.fail
fail
传输失败
Definition:
NosTransferStatus.java:23
com.netease.nimlib.sdk.nos.constant.NosTransferStatus.getValue
int getValue()
Definition:
NosTransferStatus.java:40
com.netease.nimlib.sdk.nos.constant.NosTransferStatus.def
def
默认状态,未开始
Definition:
NosTransferStatus.java:11
生成于 2024年 十月 16日 星期三 10:25:05 , 为 NIMSDK-AOS使用
1.8.13