onStartJob

open fun onStartJob(params: JobParameters): Boolean

OnStartJob callback from the JobService - This can/should be overridden in concrete classes as it is the method that will effectively run whatever work should be done.

Return

(From JobService doc) True if your service needs to process the work (on a separate thread). False if there's no more work to be done for this job.

Parameters

params

JobParameters of the job