public interface WorkEvent
| Modifier and Type | Field | Description | 
|---|---|---|
| static int | WORK_ACCEPTED | Work has been accepted | 
| static int | WORK_COMPLETED | Work has completed. | 
| static int | WORK_REJECTED | Work has been rejected. | 
| static int | WORK_STARTED | Work is currently running. | 
| Modifier and Type | Method | Description | 
|---|---|---|
| WorkException | getException() | This returns the exception if any in the case of WORK_COMPLETED. | 
| int | getType() | This returns WORK_ACCEPTED etc | 
| WorkItem | getWorkItem() | This returns a WorkItem that represents the 
 Work submitted to a WorkManager. | 
static final int WORK_ACCEPTED
static final int WORK_REJECTED
static final int WORK_STARTED
static final int WORK_COMPLETED
int getType()
WorkItem getWorkItem()
WorkException getException()