NIMSDK-AOS  10.6.0
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 }
String getUuid()
获取附件对应的消息的uuid
AttachmentProgress(String uuid, long transferred, long total)
构造函数
long getTransferred()
获取已经传输的字节数