2015-06-26 20:14:51 -07:00
|
|
|
package org.thoughtcrime.securesms.jobs;
|
|
|
|
|
2015-10-12 18:25:05 -07:00
|
|
|
|
|
|
|
import android.support.annotation.NonNull;
|
|
|
|
|
|
|
|
import org.thoughtcrime.securesms.attachments.Attachment;
|
2015-06-26 20:14:51 -07:00
|
|
|
|
|
|
|
public class PartProgressEvent {
|
2015-10-12 18:25:05 -07:00
|
|
|
|
|
|
|
public final Attachment attachment;
|
|
|
|
public final long total;
|
|
|
|
public final long progress;
|
|
|
|
|
|
|
|
public PartProgressEvent(@NonNull Attachment attachment, long total, long progress) {
|
|
|
|
this.attachment = attachment;
|
|
|
|
this.total = total;
|
|
|
|
this.progress = progress;
|
2015-06-26 20:14:51 -07:00
|
|
|
}
|
|
|
|
}
|