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.
- 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 for representing task requests.
- 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.