Package com.codename1.background


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