WorkRequest
abstract class WorkRequest
kotlin.Any | |
↳ | androidx.work.WorkRequest |
The base interface for work requests.
Summary
Nested classes | |
---|---|
abstract |
A builder for |
Constants | |
---|---|
static Long |
{@see https://android. |
static Long |
{@see https://android. |
static Long |
{@see https://android. |
Protected constructors | |
---|---|
<init>(id: UUID, workSpec: WorkSpec, tags: MutableSet<String!>) |
Public methods | |
---|---|
open UUID! |
getId() Gets the unique identifier associated with this unit of work. |
Constants
DEFAULT_BACKOFF_DELAY_MILLIS
static val DEFAULT_BACKOFF_DELAY_MILLIS: Long
{@see https://android.googlesource.com/platform/frameworks/base/+/oreo-release/core/java/android/app/job/JobInfo.java#77}
Value: 30000L
MAX_BACKOFF_MILLIS
static val MAX_BACKOFF_MILLIS: Long
{@see https://android.googlesource.com/platform/frameworks/base/+/oreo-release/core/java/android/app/job/JobInfo.java#82}
Value: 18000000L
MIN_BACKOFF_MILLIS
static val MIN_BACKOFF_MILLIS: Long
{@see https://android.googlesource.com/platform/frameworks/base/+/oreo-release/core/java/android/app/job/JobInfo.java#119}
Value: 10000L
Protected constructors
<init>
protected WorkRequest(id: UUID, workSpec: WorkSpec, tags: MutableSet<String!>)
Public methods
getId
open fun getId(): UUID!
Gets the unique identifier associated with this unit of work.
Return | |
---|---|
UUID!: The identifier for this unit of work |
Interfaces
Classes
- Constraints
- Constraints.Builder
- OneTimeWorkRequest
- OneTimeWorkRequest.Builder
- Configuration
- Configuration.Builder
- Data
- Data.Builder
- WorkRequest
- WorkRequest.Builder
- OverwritingInputMerger
- InputMerger
- Worker
- PeriodicWorkRequest
- PeriodicWorkRequest.Builder
- WorkContinuation
- ArrayCreatingInputMerger
- WorkStatus
- WorkManager
- ContentUriTriggers
- ContentUriTriggers.Trigger
Enums