This models a WorkListener instance which would be notified
by the WorkManager when the various Work
processing events (work accepted, work rejected, work started,
work completed) occur.
The WorkListener instance must not make any thread
assumptions and must be thread-safe ie., a notification could
occur from any arbitrary thread. Further, it must not make any
assumptions on the ordering of notifications. |