package com.codename1.background

Background fetch is a mechanism whereby an application is granted permission by the operating system to update its data periodically. At times of the native platform’s choosing, an app that supports background fetch will be started up (in the background), and its com.codename1.util.Callback) method will be called.

Types

interface BackgroundFetchAn interface that can be implemented by an app’s main class to support background fetch.
class BackgroundTaskSchedules a one-shot deferrable processing task that the operating system runs at a convenient time after an earliest-begin date.
class BackgroundWorkEntry point for scheduling constraint-aware background work.
interface BackgroundWorkerImplemented by an application class to perform constraint-aware background work scheduled through BackgroundWork#schedule(WorkRequest).
class ForegroundServiceRuns a long lived task while a persistent system notification is shown to the user.
class WorkRequestDescribes a unit of constraint-aware background work to be scheduled with BackgroundWork#schedule(WorkRequest).