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 BackgroundFetch | An interface that can be implemented by an app’s main class to support background fetch. |
class BackgroundTask | Schedules a one-shot deferrable processing task that the operating system runs at a convenient time after an earliest-begin date. |
class BackgroundWork | Entry point for scheduling constraint-aware background work. |
interface BackgroundWorker | Implemented by an application class to perform constraint-aware background work scheduled through BackgroundWork#schedule(WorkRequest). |
class ForegroundService | Runs a long lived task while a persistent system notification is shown to the user. |
class WorkRequest | Describes a unit of constraint-aware background work to be scheduled with BackgroundWork#schedule(WorkRequest). |