Expand description
§Bindings to the BackgroundTasks framework
See Apple’s docs and the general docs on framework crates for more information.
Structs§
- BGApp
Refresh Task BGTask - An object representing a short task typically used to refresh content that’s run while the app is in the background.
- BGApp
Refresh Task Request BGTaskRequest - A request to launch your app in the background to execute a short refresh task.
- BGContinued
Processing Task BGTask - A task meant to perform processing on behalf of a user initiated request.
- BGContinued
Processing Task Request BGTaskRequest - A request to begin a workload immediately, or shortly after submission, which is allowed to continue running even if the app is backgrounded.
- BGContinued
Processing Task Request Resources BGTaskRequest - Apple’s documentation
- BGContinued
Processing Task Request Submission Strategy BGTaskRequest - Apple’s documentation
- BGHealth
Research Task BGTask - A task meant to perform processing on behalf of health research studies.
- BGHealth
Research Task Request BGTaskRequest - A request to launch your app in the background to execute a health research task for studies a user has opted into and that can take minutes to complete.
- BGProcessing
Task BGTask - A time-consuming processing task that runs while the app is in the background.
- BGProcessing
Task Request BGTaskRequest - A request to launch your app in the background to execute a processing task that can take minutes to complete.
- BGTask
BGTask - An abstract class representing a task that’s run while the app is in the background.
- BGTask
Request BGTaskRequest - An abstract class that represents a request for the app to be launched in the background to perform work. Do not instantiate instances of this class directly. Instead, use one of its concrete subclasses.
- BGTask
Scheduler BGTaskScheduler - A class for scheduling task requests that launch your app in the background.
- BGTask
Scheduler Error Code BGTaskScheduler - An enumeration of the task scheduling errors.
Statics§
- BGTask
Scheduler ⚠Error Domain BGTaskScheduler - The background tasks error domain as a string.