-
Notifications
You must be signed in to change notification settings - Fork 514
HealthKit macOS xcode16.0 rc
Rolf Bjarne Kvinge edited this page Sep 12, 2024
·
2 revisions
#HealthKit.framework https://github.com/xamarin/xamarin-macios/pull/21225
diff -ruN /Applications/Xcode_16.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKAppleSleepingBreathingDisturbancesClassification.h /Applications/Xcode_16.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKAppleSleepingBreathingDisturbancesClassification.h
--- /Applications/Xcode_16.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKAppleSleepingBreathingDisturbancesClassification.h 1970-01-01 01:00:00
+++ /Applications/Xcode_16.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKAppleSleepingBreathingDisturbancesClassification.h 2024-08-04 04:35:33
@@ -0,0 +1,38 @@
+//
+// HKAppleSleepingBreathingDisturbancesClassification.h
+// HealthKit
+//
+// Copyright © 2022-2024 Apple. All rights reserved.
+//
+
+#import <HealthKit/HKDefines.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+@class HKQuantity;
+
+/*!
+ @enum HKAppleSleepingBreathingDisturbancesClassification
+ @abstract This enumerated type is used to represent a classification of the user's breathing disturbances
+ @constant HKAppleSleepingBreathingDisturbancesClassificationNotElevated BD level is not elevated
+ @constant HKAppleSleepingBreathingDisturbancesClassificationElevated BD level is elevated
+ */
+typedef NS_ENUM(NSInteger, HKAppleSleepingBreathingDisturbancesClassification) {
+ HKAppleSleepingBreathingDisturbancesClassificationNotElevated,
+ HKAppleSleepingBreathingDisturbancesClassificationElevated,
+} API_AVAILABLE(ios(18.0), watchos(11.0), macCatalyst(18.0), macos(15.0), visionos(2.0));
+
+/*!
+ @abstract Determines the Breathing Disturbances classification for the provided BD value.
+ @param value Breathing Disturbances quantity
+ @return A Breathing Disturbances classification if one can be created, otherwise nil.
+ */
+HK_EXTERN NSNumber * _Nullable HKAppleSleepingBreathingDisturbancesClassificationForQuantity(HKQuantity *value) API_AVAILABLE(ios(18.0), watchos(11.0), macCatalyst(18.0), macos(15.0), visionos(2.0)) NS_REFINED_FOR_SWIFT;
+
+/*!
+ @abstract Retrieves the minimum quantity for a Breathing Disturbances classification.
+ @param classification Breathing Disturbances classification for desired minimum value.
+ */
+HK_EXTERN HKQuantity * HKAppleSleepingBreathingDisturbancesMinimumQuantityForClassification(HKAppleSleepingBreathingDisturbancesClassification classification) API_AVAILABLE(ios(18.0), watchos(11.0), macCatalyst(18.0), macos(15.0), visionos(2.0)) NS_SWIFT_NAME(getter:HKAppleSleepingBreathingDisturbancesClassification.minimum(self:));
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_16.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKTypeIdentifiers.h /Applications/Xcode_16.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKTypeIdentifiers.h
--- /Applications/Xcode_16.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKTypeIdentifiers.h 2024-08-06 13:07:42
+++ /Applications/Xcode_16.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKTypeIdentifiers.h 2024-08-16 05:40:32
@@ -147,6 +147,7 @@
HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierBasalBodyTemperature API_AVAILABLE(ios(9.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0)); // degC, Discrete (Arithmetic)
// Respiratory
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierAppleSleepingBreathingDisturbances API_AVAILABLE(ios(18.0), watchos(11.0), macCatalyst(18.0), macos(15.0), visionos(2.0)); // count, Discrete (Arithmetic)
HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierForcedExpiratoryVolume1 API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0)); // L, Discrete (Arithmetic)
HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierForcedVitalCapacity API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0)); // L, Discrete (Arithmetic)
HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierInhalerUsage API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0)); // count, Cumulative
@@ -206,6 +207,7 @@
HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierSexualActivity API_AVAILABLE(ios(9.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0)); // HKCategoryValue
// Respiratory
+HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierSleepApneaEvent API_AVAILABLE(ios(18.0), watchos(11.0), macCatalyst(18.0), macos(15.0), visionos(2.0)); // HKCategoryValue
// Sleep
HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierSleepAnalysis API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0)); // HKCategoryValueSleepAnalysis
diff -ruN /Applications/Xcode_16.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HealthKit.h /Applications/Xcode_16.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HealthKit.h
--- /Applications/Xcode_16.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HealthKit.h 2024-08-06 13:07:40
+++ /Applications/Xcode_16.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HealthKit.h 2024-08-04 04:35:29
@@ -8,6 +8,7 @@
#import <HealthKit/HKActivitySummary.h>
#import <HealthKit/HKActivitySummaryQuery.h>
#import <HealthKit/HKAnchoredObjectQuery.h>
+#import <HealthKit/HKAppleSleepingBreathingDisturbancesClassification.h>
#import <HealthKit/HKAppleWalkingSteadinessClassification.h>
#import <HealthKit/HKAttachment.h>
#import <HealthKit/HKAttachmentStore.h>
- 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
- xcode16.2 Binding Status