92 lines
1.5 KiB
Java
92 lines
1.5 KiB
Java
package com.baidu.license.download.base;
|
|
|
|
import com.baidu.license.download.exception.DownloadException;
|
|
|
|
/* loaded from: classes.dex */
|
|
public class DownloadStatus {
|
|
private int a;
|
|
private long b;
|
|
private long c;
|
|
private int d;
|
|
private boolean e;
|
|
private DownloadException f;
|
|
private DownloadCallback g;
|
|
private String h;
|
|
private boolean i;
|
|
|
|
public void a(long j) {
|
|
this.c = j;
|
|
}
|
|
|
|
public void b(int i) {
|
|
this.a = i;
|
|
}
|
|
|
|
public Exception c() {
|
|
return this.f;
|
|
}
|
|
|
|
public void c(long j) {
|
|
}
|
|
|
|
public long d() {
|
|
return this.c;
|
|
}
|
|
|
|
public long e() {
|
|
return this.b;
|
|
}
|
|
|
|
public int f() {
|
|
return this.d;
|
|
}
|
|
|
|
public String g() {
|
|
return this.h;
|
|
}
|
|
|
|
public int h() {
|
|
return this.a;
|
|
}
|
|
|
|
public boolean i() {
|
|
return this.e;
|
|
}
|
|
|
|
public void a(int i) {
|
|
this.d = i;
|
|
}
|
|
|
|
public void b(long j) {
|
|
this.b = j;
|
|
}
|
|
|
|
public void a(boolean z) {
|
|
this.e = z;
|
|
}
|
|
|
|
public void b(boolean z) {
|
|
this.i = z;
|
|
}
|
|
|
|
public void a(DownloadException downloadException) {
|
|
this.f = downloadException;
|
|
}
|
|
|
|
public boolean b() {
|
|
return this.i;
|
|
}
|
|
|
|
public DownloadCallback a() {
|
|
return this.g;
|
|
}
|
|
|
|
public void a(DownloadCallback downloadCallback) {
|
|
this.g = downloadCallback;
|
|
}
|
|
|
|
public void a(String str) {
|
|
this.h = str;
|
|
}
|
|
}
|