|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This is a callback interface called to report on the dispatching of a Work. It is implemented by the application and supplied to startWork methods on a WorkManager.
WorkManager
Method Summary | |
---|---|
void |
workAccepted(WorkEvent we)
This is called when the Work is accepted for dispatching. |
void |
workCompleted(WorkEvent we)
This is called once Work.run returns. |
void |
workRejected(WorkEvent we)
This is called when the Work cannot be processed prior to starting but after accept. |
void |
workStarted(WorkEvent we)
This is called when the Work is about to start. |
Method Detail |
public void workAccepted(WorkEvent we)
public void workRejected(WorkEvent we)
public void workStarted(WorkEvent we)
public void workCompleted(WorkEvent we)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |