- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
39 lines
1.2 KiB
Java
39 lines
1.2 KiB
Java
package androidx.work.impl.model;
|
|
|
|
import androidx.annotation.RestrictTo;
|
|
import androidx.core.app.NotificationCompat;
|
|
import androidx.room.ColumnInfo;
|
|
import androidx.room.Entity;
|
|
import androidx.room.ForeignKey;
|
|
import androidx.room.PrimaryKey;
|
|
import androidx.work.Data;
|
|
import kotlin.jvm.internal.Intrinsics;
|
|
|
|
@Entity(foreignKeys = {@ForeignKey(childColumns = {"work_spec_id"}, entity = WorkSpec.class, onDelete = 5, onUpdate = 5, parentColumns = {"id"})})
|
|
@RestrictTo({RestrictTo.Scope.LIBRARY_GROUP})
|
|
/* loaded from: classes.dex */
|
|
public final class WorkProgress {
|
|
|
|
@ColumnInfo(name = NotificationCompat.CATEGORY_PROGRESS)
|
|
private final Data progress;
|
|
|
|
@PrimaryKey
|
|
@ColumnInfo(name = "work_spec_id")
|
|
private final String workSpecId;
|
|
|
|
public final Data getProgress() {
|
|
return this.progress;
|
|
}
|
|
|
|
public final String getWorkSpecId() {
|
|
return this.workSpecId;
|
|
}
|
|
|
|
public WorkProgress(String workSpecId, Data progress) {
|
|
Intrinsics.checkNotNullParameter(workSpecId, "workSpecId");
|
|
Intrinsics.checkNotNullParameter(progress, "progress");
|
|
this.workSpecId = workSpecId;
|
|
this.progress = progress;
|
|
}
|
|
}
|