NIMSDK-AOS
10.5.0
basesdk
src
com
netease
nimlib
sdk
msg
model
AttachmentProgress.java
浏览该文件的文档.
1
package
com.netease.nimlib.sdk.msg.model;
2
3
import
java.io.Serializable;
4
8
public
class
AttachmentProgress
implements
Serializable {
9
10
private
final
String uuid;
11
private
final
long
transferred;
12
private
final
long
total;
13
20
public
AttachmentProgress
(String uuid,
long
transferred,
long
total) {
21
this.uuid = uuid;
22
this.transferred = transferred;
23
this.total = total;
24
}
25
30
public
String
getUuid
() {
31
return
uuid;
32
}
33
38
public
long
getTransferred
() {
39
return
transferred;
40
}
41
46
public
long
getTotal
() {
47
return
total;
48
}
49
}
com.netease.nimlib.sdk.msg.model.AttachmentProgress.getUuid
String getUuid()
获取附件对应的消息的uuid
Definition:
AttachmentProgress.java:30
com.netease.nimlib.sdk.msg.model.AttachmentProgress
附件发送/接收进度通知
Definition:
AttachmentProgress.java:8
com.netease.nimlib.sdk.msg.model.AttachmentProgress.AttachmentProgress
AttachmentProgress(String uuid, long transferred, long total)
构造函数
Definition:
AttachmentProgress.java:20
com.netease.nimlib.sdk.msg.model.AttachmentProgress.getTransferred
long getTransferred()
获取已经传输的字节数
Definition:
AttachmentProgress.java:38
com.netease.nimlib.sdk.msg.model.AttachmentProgress.getTotal
long getTotal()
获取文件总长度
Definition:
AttachmentProgress.java:46
生成于 2024年 十月 15日 星期二 18:40:25 , 为 NIMSDK-AOS使用
1.8.13