-
Notifications
You must be signed in to change notification settings - Fork 507
BackgroundTasks tvOS xcode15.0 b1
Manuel de la Pena edited this page Aug 8, 2023
·
3 revisions
#BackgroundTasks.framework https://github.com/xamarin/xamarin-macios/pull/18670
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/BackgroundTasks.framework/Headers/BGTask.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/BackgroundTasks.framework/Headers/BGTask.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/BackgroundTasks.framework/Headers/BGTask.h 2023-03-09 19:13:22
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/BackgroundTasks.framework/Headers/BGTask.h 2023-05-19 22:16:16
@@ -108,6 +108,19 @@
@end
/*!
+ @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)
+/// 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 background task used to update your app's contents in the background.
*/
BG_EXTERN API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(macos, watchos)
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/BackgroundTasks.framework/Headers/BGTaskRequest.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/BackgroundTasks.framework/Headers/BGTaskRequest.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/BackgroundTasks.framework/Headers/BGTaskRequest.h 2023-03-09 19:16:41
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/BackgroundTasks.framework/Headers/BGTaskRequest.h 2023-05-19 22:16:16
@@ -6,7 +6,6 @@
//
#import <Foundation/Foundation.h>
-
#import <BackgroundTasks/BGDefines.h>
NS_ASSUME_NONNULL_BEGIN
@@ -97,6 +96,20 @@
@end
+/// 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.
+BG_EXTERN API_AVAILABLE(ios(17.0), tvos(17.0)) API_UNAVAILABLE(macos, watchos)
+@interface BGHealthResearchTaskRequest : BGProcessingTaskRequest
+/*!
+ @abstract What file protection state is required to access data relevant to this task.
+ @discussion Update this property to indicate what type of data needs to be accessible when the task is run.
+ The default value is `NSFileProtectionCompleeUntilFirstUserAuthentication`.
+ */
+
+/// A String indicating file protection availability required for processing.
+@property (assign) NSFileProtectionType protectionTypeOfRequiredData;
+
+@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