Android.App.Job Namespace
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 |
| JobInfo.Builder |
Builder class for constructing |
| 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 |
| JobServiceEngine |
Helper for implementing a |
| JobWorkItem |
A unit of work that can be enqueued for a job using
|
| JobWorkItem.Builder |
Builder class for constructing |
| 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 |
| 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. |