Java android.app.job JobScheduler fields, constructors, methods, implement or subclass

Example usage for Java android.app.job JobScheduler fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.app.job JobScheduler.

The text is from its open source code.

Field

intRESULT_SUCCESS
Returned from #schedule(JobInfo) if this job has been successfully scheduled.

Method

voidcancel(int jobId)
Cancel the specified job.
voidcancelAll()
Cancel all jobs that have been scheduled by the calling application.
ListgetAllPendingJobs()
Retrieve all jobs that have been scheduled by the calling application.
JobInfogetPendingJob(int jobId)
Look up the description of a scheduled job.
intschedule(@NonNull JobInfo job)
Schedule a job to be executed.