Crate objc2_background_tasks

Source
Expand description

§Bindings to the BackgroundTasks framework

See Apple’s docs and the general docs on framework crates for more information.

Structs§

BGAppRefreshTaskBGTask
An object representing a short task typically used to refresh content that’s run while the app is in the background.
BGAppRefreshTaskRequestBGTaskRequest
A request to launch your app in the background to execute a short refresh task.
BGHealthResearchTaskBGTask
A task meant to perform processing on behalf of health research studies.
BGHealthResearchTaskRequestBGTaskRequest
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.
BGProcessingTaskBGTask
A time-consuming processing task that runs while the app is in the background.
BGProcessingTaskRequestBGTaskRequest
A request to launch your app in the background to execute a processing task that can take minutes to complete.
BGTaskBGTask
An abstract class representing a task that’s run while the app is in the background.
BGTaskRequestBGTaskRequest
An abstract class for representing task requests.
BGTaskSchedulerBGTaskScheduler
A class for scheduling task requests that launch your app in the background.
BGTaskSchedulerErrorCodeBGTaskScheduler
An enumeration of the task scheduling errors.

Statics§

BGTaskSchedulerErrorDomainBGTaskScheduler
The background tasks error domain as a string.