That fuck shit the fascists are using
at master 25 lines 588 B view raw
1package org.tm.archive.events; 2 3import androidx.annotation.NonNull; 4 5import org.tm.archive.attachments.Attachment; 6 7public final class PartProgressEvent { 8 9 public final Attachment attachment; 10 public final Type type; 11 public final long total; 12 public final long progress; 13 14 public enum Type { 15 COMPRESSION, 16 NETWORK 17 } 18 19 public PartProgressEvent(@NonNull Attachment attachment, @NonNull Type type, long total, long progress) { 20 this.attachment = attachment; 21 this.type = type; 22 this.total = total; 23 this.progress = progress; 24 } 25}