onStopped

open fun onStopped(job: JobInfo)(source)

The platform stopped the job mid-run — constraints stopped holding, a background window expired, or the process went away. It returns to JobState.ENQUEUED and runs again later.