-
Notifications
You must be signed in to change notification settings - Fork 511
BackgroundTasks macOS xcode16.0 b1
Rolf Bjarne Kvinge edited this page Jun 18, 2024
·
3 revisions
#BackgroundTasks.framework
diff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/BackgroundTasks.framework/Headers/BGTask.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/BackgroundTasks.framework/Headers/BGTask.h
--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/BackgroundTasks.framework/Headers/BGTask.h 2024-04-17 06:39:13
+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/BackgroundTasks.framework/Headers/BGTask.h 2024-05-30 04:42:29
@@ -58,7 +58,7 @@
@property (nullable, strong) void (^expirationHandler)(void);
- (instancetype)init NS_UNAVAILABLE; // Subclasses of this abstract type are created by the system and cannot be directly instantiated
-- (instancetype)new NS_UNAVAILABLE; // Subclasses of this abstract type are created by the system and cannot be directly instantiated
++ (instancetype)new NS_UNAVAILABLE; // Subclasses of this abstract type are created by the system and cannot be directly instantiated
/*!
@abstract Marks this task as complete.
@@ -110,13 +110,30 @@
/*!
@abstract A potentially time-consuming task that is required to process data essential to a health research study.
*/
-BG_EXTERN API_AVAILABLE(ios(17.0), tvos(17.0)) API_UNAVAILABLE(macos, watchos, tvos)
+BG_EXTERN API_AVAILABLE(ios(17.0), tvos(25.0)) API_UNAVAILABLE(macos, watchos, tvos)
/// A task meant to perform processing on behalf of health research studies.
///
/// Health research tasks may only be used by applications entitled to perform
/// studies and user's have opted in to the relevant study. These apps must have the
/// `com.apple.developer.backgroundtasks.healthresearch` entitlement.
@interface BGHealthResearchTask : BGProcessingTask
+
+@end
+
+/*!
+ @abstract A task initiated by the user that continues in the background
+ */
+BG_EXTERN API_AVAILABLE(ios(18.0), tvos(25.0)) API_UNAVAILABLE(macos, watchos, tvos)
+/// A task meant to perform processing on behalf of a user initiated request
+///
+/// Continued processing tasks will present UI while in progress to provide awareness to the user
+@interface BGContinuedProcessingTask : BGTask
+
+@property (copy, readonly) NSString *title;
+
+@property (copy, readonly) NSString *reason;
+
+- (void)updateProgress:(NSProgress *)progress;
@end
diff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/BackgroundTasks.framework/Headers/BGTaskRequest.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/BackgroundTasks.framework/Headers/BGTaskRequest.h
--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/BackgroundTasks.framework/Headers/BGTaskRequest.h 2024-04-17 07:21:16
+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/BackgroundTasks.framework/Headers/BGTaskRequest.h 2024-05-30 04:33:12
@@ -111,6 +111,19 @@
@end
+BG_EXTERN API_AVAILABLE(ios(18.0), tvos(25.0)) API_UNAVAILABLE(macos, watchos, tvos)
+@interface BGContinuedProcessingTaskRequest : BGTaskRequest
+
+- (instancetype)initWithIdentifier:(NSString *)identifier;
+
+/// String indicating user-visible title for the continued processing
+@property (copy) NSString *title;
+
+/// String indicating user-visible content for describing the continued processing
+@property (copy) NSString *reason;
+
+@end
+
NS_ASSUME_NONNULL_END
- README
- xcode13.0 Binding Status
- xcode13.1 Binding Status
- xcode13.2 Binding Status
- xcode13.3 Binding Status
- xcode13.4 Binding Status
- xcode14.0 Binding Status
- xcode14.1 Binding Status
- xcode14.2 Binding Status
- xcode14.3 Binding Status
- xcode15.0 Binding Status
- xcode15.1 Binding Status
- xcode15.3 Binding Status
- xcode15.4 Binding Status
- xcode16.0 Binding Status
- xcode16.1 Binding Status