Files
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

61 lines
1.8 KiB
Java

package com.mbridge.msdk.foundation.download;
import android.os.Parcel;
import android.os.Parcelable;
/* loaded from: classes4.dex */
public class DownloadProgress implements Parcelable {
public static final Parcelable.Creator<DownloadProgress> CREATOR = new Parcelable.Creator<DownloadProgress>() { // from class: com.mbridge.msdk.foundation.download.DownloadProgress.1
/* JADX WARN: Can't rename method to resolve collision */
@Override // android.os.Parcelable.Creator
public DownloadProgress createFromParcel(Parcel parcel) {
return new DownloadProgress(parcel);
}
/* JADX WARN: Can't rename method to resolve collision */
@Override // android.os.Parcelable.Creator
public DownloadProgress[] newArray(int i) {
return new DownloadProgress[i];
}
};
private long current;
private int currentDownloadRate;
private long total;
@Override // android.os.Parcelable
public int describeContents() {
return 0;
}
public long getCurrent() {
return this.current;
}
public int getCurrentDownloadRate() {
return this.currentDownloadRate;
}
public long getTotal() {
return this.total;
}
public DownloadProgress(long j, long j2, int i) {
this.current = j;
this.total = j2;
this.currentDownloadRate = i;
}
public DownloadProgress(Parcel parcel) {
this.current = parcel.readLong();
this.total = parcel.readLong();
this.currentDownloadRate = parcel.readInt();
}
@Override // android.os.Parcelable
public void writeToParcel(Parcel parcel, int i) {
parcel.writeLong(this.current);
parcel.writeLong(this.total);
parcel.writeInt(this.currentDownloadRate);
}
}