Android.App.Job Namespace

Provides services and data types for scheduling background jobs, declaring their constraints, and processing their work items.

Classes

Name Description
JobInfo

Container of data passed to the android.app.job.JobScheduler fully encapsulating the parameters required to schedule work against the calling application.

JobInfo.Builder

Builder class for constructing JobInfo objects.

JobInfo.InterfaceConsts

Exposes constants from the parcelable interface implemented by JobInfo.

JobInfo.TriggerContentUri

Information about a content URI modification that a job would like to trigger on.

JobInfo.TriggerContentUri.InterfaceConsts

Exposes constants from the parcelable interface implemented by JobInfo.TriggerContentUri.

JobParameters

Contains the parameters used to configure/identify your job.

JobParameters.InterfaceConsts

Exposes constants from the parcelable interface implemented by JobParameters.

JobScheduler

This is an API for scheduling various types of jobs against the framework that will be executed in your application's own process.

JobService

Entry point for the callback from the android.app.job.JobScheduler.

JobServiceEngine

Helper for implementing a android.app.Service that interacts with JobScheduler.

JobWorkItem

A unit of work that can be enqueued for a job using JobScheduler#enqueue JobScheduler.enqueue.

JobWorkItem.Builder

Builder class for constructing JobWorkItem objects.

JobWorkItem.InterfaceConsts

Exposes constants from the parcelable interface implemented by JobWorkItem.

PendingJobReasonsInfo

A simple wrapper which includes a timestamp (in millis since epoch) and an array of JobScheduler.PendingJobReason reasons at that timestamp for why a particular job may be pending.

PendingJobReasonsInfo.InterfaceConsts

Exposes constants from the parcelable interface implemented by PendingJobReasonsInfo.

Enums

Name Description
BackoffPolicy

Enumerates values returned by the Exponential, Linear, and BackoffPolicyValue members and taken as a parameter of the F:Android.App.Job.JobInfo+Builder.SetBackoffCriteria member.

JobEndNotificationPolicy

Specifies what happens to a job's notification when the job ends.

JobInfoCategory

Identifies the category assigned to a scheduled job.

JobPriority

Specifies a job's scheduling priority relative to other jobs from the same app.

NetworkType

Enumerates values returned by several types and taken as a parameter of the F:Android.App.Job.JobInfo+Builder.SetRequiredNetworkType member.

PendingJobReason

Identifies a reported reason why a scheduled job is not executing.

StopReason

Identifies why the system stopped a running job.

TriggerContentUriFlags

Controls whether a content URI trigger also observes changes below the specified URI.